Scroll actions to be passed into actions_stream(). Scroll the page in
a given direction.
Usage
actions_scroll(x, y, delta_x, delta_y, duration = NULL, origin = "viewport")
Value
A selenium_action object.
Arguments
x
The x coordinate from which the scroll action originates from.
y
The y coordinate from which the scroll action originates from.
delta_x
The number of pixels to scroll in the x direction.
delta_y
The number of pixels to scroll in the y direction.
duration
The duration of the scroll, in seconds.
origin
The point from which x and y are measured. Can be a
WebElement object, in which case x and y are measured from the
center of the element. Otherwise, origin must be "viewport".