Method: Selenium::WebDriver::Remote::Bridge#getElementLocationOnceScrolledIntoView
- Defined in:
- lib/selenium/webdriver/remote/bridge.rb
permalink #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.
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 |