Method: Selenium::WebDriver::Element#rect
- Defined in:
- lib/selenium/webdriver/common/element.rb
permalink #rect ⇒ WebDriver::Rectangle
Get the dimensions and coordinates of this element.
296 297 298 |
# File 'lib/selenium/webdriver/common/element.rb', line 296 def rect bridge.element_rect @id end |