Learn R Programming

selenium (version 0.1.4)

actions_stream: 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(...)

Value

A selenium_actions_stream object, ready to be passed into SeleniumSession$perform_actions().

Arguments

...

selenium_action objects: the actions to perform.

See Also

  • Pause actions: actions_pause().

  • Press actions: actions_press() and actions_release().

  • Mouse actions: actions_mousedown(), actions_mouseup() and actions_mousemove().

  • Scroll actions: actions_scroll().

Examples

Run this code
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")
)

Run the code above in your browser using DataLab