vibeside_compare_visual_diff
Compare a baseline image with the current browser page or DOM element to detect visual differences, optionally saving a highlighted diff PNG.
Instructions
Alias for vibeside_visual_diff: Compare visual diff between a baseline screenshot/image and the current page or DOM element.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| current | No | Current image as file path or base64. If omitted, captures active browser page or element. | |
| baseline | Yes | Baseline PNG image as file path or base64 string | |
| fullPage | No | Whether to capture full page if capturing current browser screenshot (default: false) | |
| selector | No | CSS selector of DOM element to capture if current is omitted. If omitted, captures active viewport. | |
| threshold | No | Per-pixel color delta tolerance (0.0 to 1.0, default: 0.1) | |
| saveDiffPath | No | Optional file path to save the highlighted diff PNG image | |
| includeDiffImage | No | Whether to generate base64 diff image with magenta highlights (default: true) |