Type

Type text into an element, sending key events as the text is entered.

terminal
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

FlagDescription
--jsonFull JSON response
--tabTarget specific tab

Notes

  • Use fill when 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 /frame before iframe typing
  • Missing selectors fail immediately; use pinchtab wait for async fields
  • For typing into focused element, use keyboard type