Select a dropdown/<select> option reliably
select_optionSelect an option from a dropdown by its visible text, avoiding wrong picks when native select options share one coordinate. Verifies the chosen value and returns a screenshot when uncertain.
Instructions
Select an option from a dropdown (combo box). Use this instead of click_element for dropdowns — some dropdowns are native browser popups whose options are ALL reported at the exact same coordinate by the accessibility tree (a known Chromium/AT-SPI limitation for virtualized native selects), which makes clicking by coordinate silently select the WRONG option. This tool detects that case automatically and falls back to type-ahead (typing the option text at a realistic pace) instead of guessing a click position — position-independent, so it doesn't matter what was previously selected. It then reads the dropdown back: the result says [verified: …] when the chosen option reports selected, FAILED when a different one does, and otherwise returns a cropped screenshot to check before trusting the selection.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"option_text": "<option_text>"
},
"name": "select_option"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| combo_ref | No | ||
| combo_role | No | combo box | |
| combo_text | No | Accessible name of the dropdown, e.g. 'State'. | |
| option_text | Yes | Exact visible text of the option to select, e.g. 'California'. | |
| window_address | No |