Method: Selenium::WebDriver::WheelActions#scroll_by
- Defined in:
- lib/selenium/webdriver/common/interactions/wheel_actions.rb
permalink #scroll_by(delta_x, delta_y, device: nil) ⇒ Selenium::WebDriver::WheelActions
Scrolls by provided amounts with the origin in the top left corner of the viewport.
58 59 60 |
# File 'lib/selenium/webdriver/common/interactions/wheel_actions.rb', line 58 def scroll_by(delta_x, delta_y, device: nil) scroll(delta_x: delta_x, delta_y: delta_y, device: device) end |