Press a key
Press a key
Simulates pressing a keyboard key on an element of the web page. It handles special keys such as Enter, Tab and Escape, and combinations such as Control+C.
Options
Select the action
The action's mode.
An element in the browser
Presses the key on an element found by CSS selector.
Browser or page ID
The browser, tab or iframe opening action used as the context.
Element selector
The CSS selector identifying the element that receives the key press, input#search for example.
An element already selected
Presses the key on an element captured earlier by a Get element action.
Element ID
The action that captured the element receiving the key.
One item from a selection of multiple elements
Presses the key on an element from a list captured by a Get elements action.
Elements list id
The action that captured the list.
Enter the index of the list
The element's position in the list. The index starts at 0.
Key
The key the robot presses, picked from the list — Enter, Tab, Escape or F5, for example.
Delay in milliseconds
How long, in milliseconds, between pressing and releasing the key. Default: 125.
Counter
How many times the key is pressed. The minimum is 1. Default: 1.
Returns
This action has no returns.
Rules and conditions
- Select the action has to be set before the other fields.
- In An element in the browser mode, Browser or page ID and Element selector are both required.
- If the element is not found on the page, the action ends in an error.