Select option
browser_select_optionSelect one or more options by label or value in native select elements and ARIA comboboxes, including Angular Material mat-select and PrimeNG p-select/autocomplete.
Instructions
Select option(s) by label or value in a or ARIA combobox (Angular Material mat-select, PrimeNG p-select/autocomplete).
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 |
|---|---|---|---|
| nth | No | ||
| ref | No | Element ref from snapshot (preferred) | |
| name | No | ||
| role | No | ||
| text | No | ||
| exact | No | ||
| label | No | ||
| expect | No | ExpectSpec postconditions | |
| pageId | No | ||
| testId | No | ||
| values | Yes | ||
| within | No | Scope to a unique container (ref, role+name, label, testId or CSS selector) | |
| session | No | ||
| selector | No | CSS (last resort) | |
| snapshot | No | Page state returned after the action: diff (default), full, none | |
| placeholder | No |