Selenium WebDriver standalone server
Nightwatch works with the Selenium standalone server so the first thing you need to do is download the selenium server jar file
selenium-server-standalone-2.x.x.jar from the Selenium releases page:
Install Node.js and then:
$ git clone firstname.lastname@example.org:beatfactor/nightwatch.git $ cd nightwatch $ npm install
The tests for nightwatch are written using nodeunit as the test framework. To run the nodeunit tests do:
$ npm test
Browser specific setup and usage guides along with debugging instructions can be found on the Wiki.