lib/fluent/web_elements/text_area.rb in fluent-0.2.0 vs lib/fluent/web_elements/text_area.rb in fluent-0.3.0
- old
+ new
@@ -7,10 +7,16 @@
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/text_area'
+ self.class.send :include, Fluent::Platforms::WatirWebDriver::TextArea
+ end
end
end
+
+ ::Fluent::WebElements.class_for_tag[:textarea] = ::Fluent::WebElements::TextArea
end
end
\ No newline at end of file