keyboard_type
Simulate real keyboard input by dispatching per-character keydown/keypress/keyup events for CodeMirror, contenteditables, editors, and applications that listen to keyboard events.
Instructions
Type a literal string as real keyboard events. Unlike type (which uses fill), this dispatches per-character keydown/keypress/keyup events — works with CodeMirror, contenteditables, editors, and anything that listens to keydown. Optionally focus a selector first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| focusSelector | No | Optional selector to click (and thus focus) before typing. If omitted, types into whatever is currently focused. | |
| delayMs | No | Per-key delay, default 0. | |
| timeoutMs | No | Focus timeout. Default 5000. |