actions_stream {selenium} | R Documentation |
Create a set of actions to be performed
Description
actions_stream()
creates a set of actions to be performed by
SeleniumSession$perform_actions()
. Actions are a low level way to interact
with a page.
Usage
actions_stream(...)
Arguments
... |
|
Value
A selenium_actions_stream
object, ready to be passed into
SeleniumSession$perform_actions()
.
See Also
Pause actions:
actions_pause()
.Press actions:
actions_press()
andactions_release()
.Mouse actions:
actions_mousedown()
,actions_mouseup()
andactions_mousemove()
.Scroll actions:
actions_scroll()
.
Examples
actions_stream(
actions_press(keys$enter),
actions_pause(0.5),
actions_release(keys$enter),
actions_scroll(x = 1, y = 1, delta_x = 1, delta_y = 1, duration = 0.5),
actions_mousemove(x = 1, y = 1, duration = 1, origin = "pointer")
)
[Package selenium version 0.1.3 Index]