Title

Browser Automation

Nightwatch.js is an easy to use Node.js based End-to-End (E2E) testing solution for browser based apps and websites.

It uses the powerful Selenium WebDriver API to perform commands and assertions on DOM elements.

Main Features

  • Simple but powerful syntax which enables you to write tests very quickly, using only Javascript and CSS selectors.

  • Built-in command-line test runner which can run the tests either sequentially or in parallel, together, by group or single.

  • Manages the Selenium server automatically; can be disabled if Selenium runs on another host.

  • Works with cloud testing providers, such as SauceLabs and BrowserStack.

  • Continous Integration support: JUnit XML reporting is built-in so you can integrate your tests in your build process with systems such as Teamcity, Jenkins, Hudson etc.

  • Use CSS selectors or Xpath to locate and verify elements on the page or execute commands.

  • Easy to extend to implement your application specific commands.