lib/symbiont/web_objects/_common.rb in symbiont-0.1.2 vs lib/symbiont/web_objects/_common.rb in symbiont-0.1.3
- old
+ new
@@ -41,9 +41,13 @@
def style(property)
@web_object.style(property)
end
+ def tag
+ @web_object.tag_name
+ end
+
def when_actionable(timeout=5)
@web_object.wait_until_present(timeout)
self
end