Compare two pages visually
compare_pagesCaptures two URLs and compares them pixel by pixel, returning a similarity score and overlay image marking what changed. Use it to check staging against production or a page before and after a change.
Instructions
Capture two URLs and compare them pixel by pixel. Returns a similarity score and an overlay image marking what changed, which you can look at. Costs 2 credits - it launches a browser per URL. Use for staging against production, or a page before and after a change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after_url | Yes | ||
| full_page | No | ||
| threshold | No | Per-pixel colour tolerance. Higher ignores more, e.g. antialiasing differences. | |
| before_url | Yes |