select_option
Selects an option in a element using its value attribute. Provide a CSS or XPath selector and the option value to interact with dropdowns during browser automation.
Instructions
Select an option in a element by value.
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": {
"selector": "<selector>",
"value": "<value>"
},
"name": "select_option"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | The `value` attribute of the option to select. | |
| selector | Yes | CSS or XPath selector for the <select> element. |