UI automated testing framework based on node.js and selenium webdriver
JavaScript
Pull request Compare This branch is 484 commits behind nightwatchjs:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
examples
lib
tests
.coveralls.yml
.gitignore
.jshintrc
.travis.yml
CONTRIBUTING.md
Gruntfile.js
LICENSE.md
README.md
index.js
package.json

README.md

Nightwatch

UI automated testing framework powered by Node.js. It uses the Selenium WebDriver API.

Build Status NPM version Coverage Status


Homepage | Developer Guide | API Reference

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: http://selenium-release.storage.googleapis.com/index.html

Install Nightwatch

Install Node.js and then:

$ git clone git@github.com:beatfactor/nightwatch.git
$ cd nightwatch
$ npm install

Run tests

The tests for nightwatch are written using nodeunit as the test framework. To run the nodeunit tests do:

$ npm test

Discuss

The Mailing List/Google Group is the most appropriate tool for Nightwatch related discussions. In addition, there is a StackOverflow Nightwatch.js tag at your disposal and Twitter.

Setup Guides

Browser specific setup and usage guides along with debugging instructions can be found on the Wiki.