Type
Type text into an element, sending key events as the text is entered.
pinchtab type e8 "Ada Lovelace"curl -X POST http://localhost:9867/action \ -H "Content-Type: application/json" \ -d '{"kind":"type","ref":"e8","text":"Ada Lovelace"}'
Response
OK CLI Flags
| Flag | Description |
|---|---|
--humanize | Use humanized per-character keypress timing (overrides instance config) |
--json | Full JSON response |
--tab | Target specific tab |
Notes
- Use
fillwhen you want to set the value more directly - Accepts unified selectors:
e8,#name,xpath://input,text:Name - Selector lookup is limited to current frame scope (default:
main) - Use
/framebefore iframe typing - Missing selectors fail immediately; use
pinchtab waitfor async fields (seecommands.md) - For typing into focused element, use
keyboard type - Raw keyboard input is the default. To opt a type action into the slower humanized per-character path, pass
humanize:truein the action JSON or setinstanceDefaults.humanize:true.