Method: Selenium::WebDriver::Window#move_to
- Defined in:
- lib/selenium/webdriver/common/window.rb
#move_to(x, y) ⇒ Object
Equivalent to #position=, but accepts x and y arguments.
130 131 132 |
# File 'lib/selenium/webdriver/common/window.rb', line 130 def move_to(x, y) @bridge.reposition_window Integer(x), Integer(y) end |