app_press_key
Send raw keyboard input to the app window using key combinations like Ctrl+A or arrow keys. Supports modifiers, named keys, and literal characters.
Instructions
Send raw keyboard input to the running app window, not tied to any element. Every key is reachable: literal characters, plus WebDriver named keys — Enter, Tab, Escape, Backspace, Delete, Space, Home, End, PageUp, PageDown, Insert, ArrowUp/Down/Left/Right, F1-F12, and modifiers Shift/Control/Alt/Meta (Meta = Win/Cmd). Several keys in one array hold modifiers together, so ["Control","a"] is Ctrl+A and ["Control","Shift","k"] is Ctrl+Shift+K; literal text like ["h","i"] just types it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | Key sequence, e.g. ["Escape"], ["Control","a"], ["F5"], ["ArrowDown","ArrowDown","Enter"] |