Nightwatch.js example tests which run against the Nightwatch.js documentation website, using Firefox.
Visit the Mozilla Firefox website: https://www.mozilla.org/en-US/firefox/new/
This will clone the project, install Nightwatch and also the GeckoDriver which is required to interact with the Firefox browser. No Selenium Server is required.
$ git clone https://github.com/nightwatchjs/nightwatch-website-tests.git
$ cd nightwatch-website-tests
$ npm install
To run the tests using Firefox simply run the command:
$ npm test
Geckodriver is a proxy for using W3C WebDriver-compatible clients to interact with Gecko-based browsers, such as Firefox.
Documentation is available at: https://firefox-source-docs.mozilla.org/testing/geckodriver/index.html
The release history and changelog is available on the GitHub Releases page.
We use Twitter to communicate updates regarding development and to announce releases. Follow @nightwatchjs to get the latest or if you wish to get in touch.
Please consider supporting Nightwatch by becoming a backer on the OpenCollective platform.