I modefied the webdriverio-example project to test a simple visual regression scnario.You can get moe detail from the webdriverio-example project for the operations used in th project.
Before running, make sure, you have below version of node in in your machine:
node -v --> v8.9.4
This is not mandatory. But I stuck with differnt errors when I had a difrent node version. Ths is the way to use diffrrnt node version in your machins. https://www.digitalocean.com/community/tutorials/how-to-install-node-js-with-nvm-node-version-manager-on-a-vps
Project uses:
wdio-selenium-standalone-service": "^0.0.12"
To Run it:
npm install
npm run test
Ths test case will initially fail as I have put a diffren image in refrence foldr. You can delete that file befor runnng.