|
Download docs/reference/select.md from AUXteam/pinch: direct link, hf CLI and curl.
- Browser
- Download file 447 Bytes
-
https://huggingface.co/spaces/AUXteam/pinch/resolve/main/docs/reference/select.md
- Command line
-
hf download hf://spaces/AUXteam/pinch/docs/reference/select.md
-
curl -L -o select.md https://huggingface.co/spaces/AUXteam/pinch/resolve/main/docs/reference/select.md
447 Bytes
| # Select | |
| Choose a value in a select element by ref. | |
| ```bash | |
| curl -X POST http://localhost:9867/action \ | |
| -H "Content-Type: application/json" \ | |
| -d '{"kind":"select","ref":"e12","value":"it"}' | |
| # CLI Alternative | |
| pinchtab select e12 it | |
| # Response | |
| { | |
| "success": true, | |
| "result": { | |
| "success": true | |
| } | |
| } | |
| ``` | |
| The `value` should match the option value expected by the page. | |
| ## Related Pages | |
| - [Snapshot](./snapshot.md) | |
| - [Focus](./focus.md) | |