Hi, my name is Dimitri Harding and welcome to my Harnessing NightwatchJS for your end-to-end testing tutorial.

NightwatchJS is an integrated, easy to use, end-to-end testing solution for browser based applications and websites, and it is written on the Node.js runtime. It uses the W3C WebDriver API to perform commands and assertions on DOM elements.

NightwatchJS has a clean and simple syntax, so tests can be written swiftly. It comes with a built in test runner, it has support for page objects within the framework, and it can be easily extended to create things like custom reporters.

During this course, we will discuss:

  • Installing and configuring NightwatchJS on our local machine
  • Nightwatch test runners, its APIs, its user actions and prompts
  • Different assertions and how they can be utilized
  • Different hooks that can be used within the test and also in the global instance of NightwatchJS
  • Writing our tests and running them
  • Reporting and debugging

Let's get started.

© 2024 Applitools. All rights reserved. Terms and Conditions Privacy Policy GDPR