Website Screenshot Comparison — Visual Diff Tool avatar

Website Screenshot Comparison — Visual Diff Tool

Pricing

Pay per usage

Go to Apify Store
Website Screenshot Comparison — Visual Diff Tool

Website Screenshot Comparison — Visual Diff Tool

Compare two web pages pixel-by-pixel with visual diff overlay. Configurable threshold, dimension matching, match percentage. Playwright + Pillow. For QA visual regression testing, competitor site monitoring, and brand compliance verification.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

C R

C R

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Screenshot Comparison / Visual Diff API

Apify Actor that takes screenshots of two URLs and compares them pixel-by-pixel.

Input

FieldTypeRequiredDefaultDescription
baselineUrlstringReference / baseline page URL
compareUrlstringPage to compare against baseline
viewportstringdesktopViewport preset: desktop (1920×1080), tablet (768×1024), mobile (375×812)
thresholdnumber0.1Per-channel pixel difference threshold (0–1)
fullPagebooleanfalseCapture full scrollable page height

Output

FieldTypeDescription
baseline_urlstringNormalized baseline URL
compare_urlstringNormalized compare URL
viewportstringViewport preset used
match_percentagenumberPercentage of matching pixels (0–100)
diff_percentagenumberPercentage of differing pixels (0–100)
total_pixelsintegerTotal pixels compared
different_pixelsintegerNumber of pixels that differ
thresholdnumberThreshold used
dimensions_matchbooleanWhether baseline and compare had identical dimensions
diff_image_base64stringBase64-encoded PNG diff overlay (red = different)
diff_overlay_urlstringPublic URL to download the diff overlay PNG
baseline_dimensionsobject{width, height} of baseline screenshot
compare_dimensionsobject{width, height} of compare screenshot
warningsarrayList of warning/error messages
timestampstringISO 8601 UTC timestamp
successbooleanWhether the comparison completed successfully
errorstringError message (null on success)

Local Development

# Install dependencies
pip install -r requirements.txt
playwright install chromium --with-deps
# Run locally
python -m src