Sha256: 907b8c7c3a181d4e824241d61b62d877197ce85daf279b69db8229b22ef04e66
Contents?: true
Size: 612 Bytes
Versions: 1
Compression:
Stored size: 612 Bytes
Contents
module Fluent module WebElements class SelectList < WebElement def initialize(web_element, platform) @web_element = web_element include_platform_specifics_for platform end def option_xpath './/child::option' end def include_platform_specifics_for(platform) super if platform[:platform] == :watir_webdriver require 'fluent/platform_watir/platform_web_elements/select_list' self.class.send :include, Fluent::Platforms::WatirWebDriver::SelectList end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fluent-0.2.0 | lib/fluent/web_elements/select_list.rb |