trending
•

13h ago

visual-comparison - Lightweight visual regression testing for Python automation.

Lightweight Python library for visual regression testing. Compare two screenshots, get an SSIM similarity score, and generate diff images with rectangles highlighting every visual change. Three lines of code, no complex setup. Works with file paths or NumPy arrays, supports Python 3.9–3.13 and NumPy 2.x. Built by a QA engineer for CI pipelines, UI automation, and cross-browser screenshot comparison. pip install visual-comparison - that's it.