Type
Type text into an element, sending key events as the text is entered.
curl -X POST http://localhost:9867/action \
-H "Content-Type: application/json" \
-d '{"kind":"type","ref":"e8","text":"Ada Lovelace"}'
# CLI Alternative
pinchtab type e8 "Ada Lovelace"
# Response
{
"success": true,
"result": {
"success": true
}
}
Notes:
- use
fillwhen you want to set the value more directly - top-level
typeexpects a ref, not a CSS selector