Method: Selenium::WebDriver::Element#location

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

#locationWebDriver::Point

Get the location of this element.

Returns:



195
196
197
# File 'lib/selenium/webdriver/element.rb', line 195

def location
  bridge.getElementLocation @id
end