actions_scroll {selenium} | R Documentation |
Scroll the page
Description
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")
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 |
Value
A selenium_action
object.
Examples
actions_stream(
actions_scroll(x = 1, y = 1, delta_x = 1, delta_y = 1, duration = 0.5)
)
[Package selenium version 0.1.3 Index]