module Selenium::WebDriver::WheelActions
def scroll_to(element, device: nil)
-
(Selenium::WebDriver::WheelActions)
- A self reference.
Parameters:
-
device
(Object
) -- Which device to use to scroll -
element
(Object
) -- Which element to scroll into the viewport.
Other tags:
- Example: Scroll to element -
def scroll_to(element, device: nil) scroll(origin: element, device: device) end