Sha256: 1594d7cfebf0f2259a234f8ce7569ba118e4a89b60d58b2e0686bcf42afed961
Contents?: true
Size: 614 Bytes
Versions: 10
Compression:
Stored size: 614 Bytes
Contents
module Fluent module WebElements class Radio < 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/radio' self.class.send :include, Fluent::Platforms::WatirWebDriver::Radio end end end ::Fluent::WebElements.class_for_type[:radio] = ::Fluent::WebElements::Radio end end
Version data entries
10 entries across 10 versions & 1 rubygems