lib/symbiont/web_objects/div.rb in symbiont-0.1.7 vs lib/symbiont/web_objects/div.rb in symbiont-0.1.8
- old
+ new
@@ -1,9 +1,17 @@
module Symbiont
module WebObjects
class Div < WebObject
-
+
+ def self.usable_selectors_for_watir
+ super + [:text, :title]
+ end
+
+ def self.usable_selectors_for_selenium
+ super + [:text, :title]
+ end
+
end # class: Div
::Symbiont::WebObjects.class_for_tag[:div] = ::Symbiont::WebObjects::Div
end # module: WebObjects