Module: PageObject::Platforms::WatirWebDriver::Image

Defined in:
lib/page-object/platforms/watir_webdriver/image.rb

Instance Method Summary collapse

Instance Method Details

#heightObject

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

#widthObject

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