selectOption
Select one or more values from a dropdown element using a CSS selector, enabling automated testing of Electron application forms and inputs.
Instructions
Select option(s) from a dropdown
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": "selectOption"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Value or label to select | |
| selector | Yes | CSS selector for select element |