Module: PageObject::Platforms::WatirWebDriver::Image
- Defined in:
- lib/page-object/platforms/watir_webdriver/image.rb
Instance Method Summary collapse
-
#height ⇒ Object
Return the height of the image.
-
#width ⇒ Object
Return the width of the image.
Instance Method Details
#height ⇒ Object
Return the height of the image
16 17 18 |
# File 'lib/page-object/platforms/watir_webdriver/image.rb', line 16 def height element.height end |
#width ⇒ Object
Return the width of the image.
9 10 11 |
# File 'lib/page-object/platforms/watir_webdriver/image.rb', line 9 def width element.width end |