Browser Select Option
browser_select_optionSelect an option from a native HTML dropdown by value or label. Also works with Select2/jQuery dropdowns, triggering correct change events.
Instructions
Select an option from a native HTML dropdown by value or visible label text. Also works with Select2/jQuery dropdowns — automatically detects and triggers the correct change events. Examples: browser_select_option({selector: "#country", value: "US"}) or browser_select_option({selector: "#country", label: "United States"}). For complex custom dropdowns that don't use , use browser_execute with jQuery instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Force a specific mode. Defaults to extension. | |
| label | No | Visible text of the option to select. | |
| value | No | Option value attribute to select. | |
| selector | Yes | CSS selector of the <select> element. | |
| sessionId | No | Puppeteer session ID for headless mode. Skips mode selection. |