Skip to content
Philipp Stracker edited this page Aug 12, 2021 · 5 revisions

CodeceptJS pixelmatch helper

This package is inspired by codeceptjs-resemblehelper.

Integrates visual regression tests in CodeceptJS using the pixelmatch library. It works with all current CodeceptJS drivers: Playwright, Webdriver, Puppeteer, Appium, TestCafe.

Two screenshots are compared for differences, using a custom tolerance. When both images are equal enough, the test passes. When there are too many differences, the test fails.


Installation →

Clone this wiki locally