Sha256: 2aa1eedb19d9646000b157c3e964fb4f8d3d9796f33fd746feb02ba200e02a27
Contents?: true
Size: 605 Bytes
Versions: 7
Compression:
Stored size: 605 Bytes
Contents
module Fluent module WebElements class Image < 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/image' self.class.send :include, Fluent::Platforms::WatirWebDriver::Image end end end ::Fluent::WebElements.class_for_tag[:img] = ::Fluent::WebElements::Image end end
Version data entries
7 entries across 7 versions & 1 rubygems