pinch / docs /reference /type.md
AUXteam's picture
Upload folder using huggingface_hub
25b930c verified

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 fill when you want to set the value more directly
  • top-level type expects a ref, not a CSS selector

Related Pages