actions_press {selenium}R Documentation

Press or release a key

Description

Key actions to be passed into actions_stream(). actions_press() represents pressing a key on the keyboard, while actions_release() represents releasing a key.

Usage

actions_press(key)

actions_release(key)

Arguments

key

The key to press: a string consisting of a single character. Use the keys object to use special keys (e.g. Ctrl).

Value

A selenium_action object.

Examples

actions_stream(
  actions_press("a"),
  actions_release("a"),
  actions_press(keys$enter),
  actions_release(keys$enter)
)


[Package selenium version 0.1.3 Index]