lib/page-object/platforms/watir_webdriver/image.rb in page-object-0.6.3 vs lib/page-object/platforms/watir_webdriver/image.rb in page-object-0.6.4
- old
+ new
@@ -5,17 +5,17 @@
#
# Return the width of the image.
#
def width
- @element.width
+ element.width
end
#
# Return the height of the image
#
def height
- @element.height
+ element.height
end
end
end
end
end