Select option
browser_select_optionChoose one or more options in a dropdown select element by value or label, using an element ref or selector, to fill out forms during browser automation.
Instructions
Select option(s) in a by value or label.
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": {
"values": "<values>"
},
"name": "browser_select_option"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Element ref from browser_snapshot, e.g. "e12" | |
| values | Yes | ||
| selector | No | Playwright selector (CSS, text=..., role=..., xpath=...) used when no ref is given | |
| snapshot | No | Return an accessibility snapshot of the page after the action (default from BROWSER_MCP_SNAPSHOT_AFTER_ACTIONS) |