select_option
Selects an option in a element by value or visible label, then fires input and change events. Use it to set dropdown choices during Electron app debugging and UI testing.
Instructions
Choose an option in a by value or visible label, then fire input and change.
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>"
},
"name": "select_option"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Visible option label | |
| value | No | Option value attribute | |
| selector | Yes | ||
| targetId | No | ||
| processId | No | Target process ID. Omit if only one app is running. |