lib/fluent/web_elements/button.rb in fluent-0.2.0 vs lib/fluent/web_elements/button.rb in fluent-0.3.0
- old
+ new
@@ -8,9 +8,14 @@
end
def include_platform_specifics_for(platform)
super
end
-
+
end
+
+ ::Fluent::WebElements.class_for_type[:submit] = ::Fluent::WebElements::Button
+ ::Fluent::WebElements.class_for_type[:button] = ::Fluent::WebElements::Button
+ ::Fluent::WebElements.class_for_type[:image] = ::Fluent::WebElements::Button
+ ::Fluent::WebElements.class_for_type[:reset] = ::Fluent::WebElements::Button
end
end
\ No newline at end of file