compare_screenshots
Compare a screenshot against a baseline image to detect visual differences, helping automated Electron testing catch UI regressions.
Instructions
Compare a screenshot with a baseline image
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": {
"sessionId": "<sessionId>",
"baselinePath": "<baselinePath>"
},
"name": "compare_screenshots"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | ||
| actualPath | No | ||
| baselinePath | Yes |