Heal locator
heal_locatorFinds the element a broken Selenium locator was meant to target after a UI change and suggests a verified replacement with confidence, reasons, and runner-up candidates; does not edit files.
Instructions
Find the element a broken Selenium locator meant after a UI change and suggest a verified replacement, with confidence, reasons and the runner-up candidates. Never edits files.
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": {
"url": "<url>",
"locator": "<locator>"
},
"name": "heal_locator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| locator | Yes | ||
| session | No | Optional: reach a page behind a login or several steps into a flow |