Method: Selenium::WebDriver::Element#rect

Defined in:
lib/selenium/webdriver/common/element.rb

#rectWebDriver::Rectangle

Get the dimensions and coordinates of this element.

[View source]

296
297
298
# File 'lib/selenium/webdriver/common/element.rb', line 296

def rect
  bridge.element_rect @id
end