browser_select_option
Choose one or more options in a native select element by value or visible label, using an element ref or CSS/text/XPath selector to target the dropdown.
Instructions
Choose option(s) in a native by value or visible 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". Preferred over selector. | |
| tabId | No | Tab to act on. Defaults to the tab last opened/selected by an agent, else the active tab. | |
| values | Yes | ||
| selector | No | CSS selector, "text=Sign in" (visible text), or "xpath=//button". Searches open shadow roots too. |