File size: 447 Bytes
6a7089a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | # 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)
|