nightrunner
Wrapper for Nightwatch.js.
- Automatically downloads all the necessary binaries (selenium, phantomjs, etc)
- Provides easy API to mock http server (expressjs with a few extensions).
- Config-less CLI tool.
Install
npm install nightrunner -g
Usage
nr --tests="/path/to/specs" --commands="/path/to/commands" --browser="chrome"
Example
This is how a spec file looks like.
const nr = ; moduleexports = { browserserver = nr ; } { browserserver; } { browser; } { browser; };