Skip to main content

keyboard

Interaction

Simulates keyboard actions on the page.

Parameters

Parameter Type Required Default Description
selector string No — Element selector to focus before keyboard action
key string Yes — Keyboard key or key combination
delay number No 0 Delay between keystrokes in ms
iframe string No CSS selector for iframe context
timeout number No 5000 Maximum wait time in milliseconds

Usage Example

RTILA X PROJECT JSON
keyboard.json
{
  "command": "keyboard",
  "params": {
    "selector": "",
    "key": "Control+A",
    "delay": 0,
    "iframe": "",
    "timeout": 5000
  }
}

Related Scenarios

Related Learning Articles

Was this helpful?