an image compare module that can be used for different NodeJS Test automation frameworks that support the WebDriver protocol.
The easiest way is to keep webdriver-image-comparison
as a dev-dependency in your package.json
, via:
npm install webdriver-image-comparison --save-dev
Instructions on how to get started can be found in the visual testing docs on the WebdriverIO project page.