Useful on CI or at site monitoring.
$ git clone
$ docker build -t your/tag-for-this-image .
$ docker run --rm -v /your/dir/with/tests:/tests your/tag-for-this-image
Look at ./tests/test_example_google_com.js
Run it $ ./runtests.sh
API Docs: http://nightwatchjs.org/api