Method: Selenium::WebDriver::Remote::Bridge#getElementLocationOnceScrolledIntoView

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

#getElementLocationOnceScrolledIntoView(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]

291
292
293
294
295
# File 'lib/selenium/webdriver/remote/bridge.rb', line 291

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

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