SiteLens Compare

Baseline vs current — visual diff with a clear pass/fail.

Reuse SiteLens screenshot capture, then compare PNGs with a pixel threshold. Get a diff overlay, changed percentage, and pass/fail — locally on your machine or via Cloud/API when you choose hosted execution.

How it works

Local (free)

Desktop and MCP compare files on disk. Screenshots are not uploaded unless you explicitly use Cloud/API.

Tools: sitelens_compare_screenshots, sitelens_compare_url, sitelens_compare_local_runs

Cloud/API

POST /compare with baseline and current image URLs. Results include diff URL and JSON metadata under tmp/compare-results.

Output

Diff PNG (magenta highlights), changed pixel count, changed %, and pass/fail against your threshold.

Example MCP prompts

  • Compare two PNG paths: sitelens_compare_screenshots with baselinePath and currentPath.
  • Capture a URL then diff: sitelens_compare_url with url and baselinePath.
  • Two QA runs: sitelens_compare_local_runs with includeScreenshotDiff: true.