openweb / pinchtab /docs /reference /select.md
Leon4gr45's picture
Upload folder using huggingface_hub
f0988d8 verified
|
Raw
History Blame Contribute Delete
447 Bytes

Select

Choose a value in a select element by ref.

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