Capture baseline
capture_baselineFingerprint each element a locator matches while tests pass, saving baselines to .qa-mcp/baselines.json so broken locators can be healed and found again later.
Instructions
While tests pass, fingerprint the element each locator matches (.qa-mcp/baselines.json) so healing can find it later.
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>",
"locators": "<locators>"
},
"name": "capture_baseline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| session | No | Optional: reach a page behind a login or several steps into a flow | |
| locators | Yes |