Method: Selenium::WebDriver::Element#location

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

#locationWebDriver::Point

Get the location of this element.

Returns:



204
205
206
# File 'lib/selenium/webdriver/common/element.rb', line 204

def location
  bridge.getElementLocation @id
end