electron_generate_locator
Generate a reliable locator strategy for an Electron app element from a plain description, such as "login button", so automation scripts can find and target the right UI element.
Instructions
Generate a robust locator strategy for an element based on description.
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": {
"description": "<description>"
},
"name": "electron_generate_locator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | Yes | Description of the element to find (e.g., "login button", "email input") |