module PageObject::Platforms::SeleniumWebDriver::Image

Public Instance Methods

height() click to toggle source

Return the height of the image

# File lib/page-object/platforms/selenium_webdriver/image.rb, line 16
def height
  dimension.height
end
width() click to toggle source

Return the width of the image.

# File lib/page-object/platforms/selenium_webdriver/image.rb, line 9
def width
  dimension.width
end

Private Instance Methods

dimension() click to toggle source
# File lib/page-object/platforms/selenium_webdriver/image.rb, line 22
def dimension
  element.size
end