lib/webdriver/element.rb in webdriver-0.10.0 vs lib/webdriver/element.rb in webdriver-0.11.0

- old
+ new

@@ -12,9 +12,17 @@ def ==(other) return false unless other.is_a? Webdriver::Element @id == other.id end + def location_in_view + @connection.get "location_in_view" + end + + def size + @connection.get "size" + end + def screenshot @connection.get "screenshot" end def displayed?