actions_stream | R Documentation |
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.
actions_stream(...)
... |
|
A selenium_actions_stream
object, ready to be passed into
SeleniumSession$perform_actions()
.
Pause actions: actions_pause()
.
Press actions: actions_press()
and actions_release()
.
Mouse actions: actions_mousedown()
, actions_mouseup()
and actions_mousemove()
.
Scroll actions: actions_scroll()
.
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")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.