Sha256: 894cb5feb9da21abfbc480497f676d1f4cc3b2730c82b31e5cc9c3749d482257
Contents?: true
Size: 629 Bytes
Versions: 10
Compression:
Stored size: 629 Bytes
Contents
module Fluent module WebElements class CheckBox < WebElement def initialize(web_element, platform) @web_element = web_element include_platform_specifics_for platform end def include_platform_specifics_for(platform) super if platform[:platform] == :watir_webdriver require 'fluent/platform_watir/platform_web_elements/checkbox' self.class.send :include, Fluent::Platforms::WatirWebDriver::CheckBox end end end ::Fluent::WebElements.class_for_type[:checkbox] = ::Fluent::WebElements::CheckBox end end
Version data entries
10 entries across 10 versions & 1 rubygems