nwjs ui testing automation The code for this blog post First run $ npm install $ cd nwapp $ npm install To run the test do: $ mocha test.js --remote-debugging-port=9222