Simple boilerplate for nightwatch using typescript (and definitions). This configuration does not make use of Selenium. Only chromedriver is used so you don't need to install JavaJDK.
Assuming you have node, typescript installed globally :
npm update
In 3 different shells :
npm run selenium
npm run watch
npm run test
Here we are using a fork a resemble-js : https://www.npmjs.com/package/node-resemble-js This fork doesn't make use of node-canvas (which has a lot of requirements depending on system host) The goal of this repo is to have the minimum viable project with node, nightwatch, typescript to do visual regression tests