browser_select_option
Selects an option from dropdown menus by matching text or value, supporting native and custom elements, with clear error feedback.
Instructions
Select an option from a dropdown menu. Works with native elements AND custom dropdowns (Angular Material, React Select, etc.). For custom dropdowns: clicks the trigger, waits for options, then clicks the matching option by text. For autocomplete (typing filters options) use browser_set_combobox instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Ms to wait after clicking trigger for options to appear (default: 300) | |
| option | Yes | Text OR value of the option to select. Exact value match wins, then exact text, then partial text. Aliases: `value`, `label`. Fails loudly with the available options if nothing matches. A controlled component may reset the field and store the choice elsewhere, so a success can come with `landed: null` and `maybe_landed: true`: the page changed, but the change does not prove it was the selection. Read the page before selecting again. | |
| selector | Yes | CSS or text selector for the dropdown trigger / <select> element |