Basic setup for start using Nightwatch.js testing with Chrome and Selenium. Based on the official documentation and the tutorial 'https://github.com/dwyl/learn-nightwatch'.
Have 'node.js' installed.
Run
npm install
And after download dependencies.
node nightwatch.conf.js
Running these two commands you won't need to download 'chromedriver' or 'selenium-server' since we have 'selenium-download' as dependency.
To execute the tests, run the script:
npm test
And see the magic happens!