Method: Selenium::WebDriver::Remote::Bridge#getElementLocation

Defined in:
lib/selenium/webdriver/remote/bridge.rb

#getElementLocation(element) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

[View source]

285
286
287
288
289
# File 'lib/selenium/webdriver/remote/bridge.rb', line 285

def getElementLocation(element)
  data = execute :getElementLocation, :id => element

  Point.new data['x'], data['y']
end