compare_screenshots
Compare two screenshots pixel-by-pixel to detect visual differences. Returns a diff result with mismatch percentage for automated visual testing.
Instructions
Compare two screenshots pixel-by-pixel and return a diff result with mismatch percentage
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| current | Yes | Path to the current screenshot | |
| baseline | Yes | Path to the baseline screenshot | |
| threshold | No | Pixel difference threshold 0-1 (default: 0.01) |