|
Download docs/reference/type.md from AUXteam/pinch: direct link, hf CLI and curl.
- Browser
- Download file 540 Bytes
-
https://huggingface.co/spaces/AUXteam/pinch/resolve/main/docs/reference/type.md
- Command line
-
hf download hf://spaces/AUXteam/pinch/docs/reference/type.md
-
curl -L -o type.md https://huggingface.co/spaces/AUXteam/pinch/resolve/main/docs/reference/type.md
540 Bytes
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