Select Option
select_optionChoose an option in a select element by exact value or visible label. Fails if disabled or unmatched, lists available options, then waits for the page to settle.
Instructions
Choose an option in a select element, by exact option value or exact visible label. A disabled select or option fails rather than being set. When nothing matches, the failure lists the options that do exist, so the next call can pick a real one. On success it waits for the page to go quiet and reports settledMs (and settled false if the DOM was still changing at the cap), so the next read sees the result of the action.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| option | Yes | Option value or visible text, matched exactly after trimming | |
| tab_id | No | Arc tab id from list_tabs. Omit to use this agent's current tab. A tool that changes a tab will not fall back to the tab the user is looking at, so pass this or call open_url first. | |
| selector | Yes | CSS selector, ref=e12 or role=combobox[name="Country"] for the <select>. "text=" cannot reach a select element. | |
| settle_ms | No | After acting, wait until the page's DOM has been quiet for this many ms, then report settledMs. 0 skips the wait. The whole wait is capped at 1500ms; a page that never goes quiet reports settled false. |