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 |
|---|---|
--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 - For typing into focused element, use
keyboard type