lib/fluent/web_elements/checkbox.rb in fluent-0.1.0 vs lib/fluent/web_elements/checkbox.rb in fluent-0.2.0
- old
+ new
@@ -7,9 +7,13 @@
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
end
end
\ No newline at end of file