ARTICLE FOR Lucid.Studio

How to Install Nightwatch.js? First Test with Nightwatch.js

Miktad Öztürk
Lucid.Studio

--

Photo by Clément H on Unsplash

In the following article, I will focus on how to install Nightwatch.js, what you must to know and how to proceed the first test with Nightwatch.js.

What is Nightwatch.js?

Nightwatch.js is a test automation framework on web applications, developed in Node.js which uses W3C WebDriver API (formerly Selenium WebDriver). It is a complete End-to-End testing solution which aims to simplify writing automated tests and setting up Continuous Integration. Nightwatch works by communicating over a restful HTTP API with a WebDriver server (such as ChromeDriver or Selenium Server).

Java and Node.js Installation

Before we install Nightwatch, we should check if node.js and java are installed on the computer.

If Java is installed, you can check it by running the following command on the terminal:

If it is not installed, you can click here to install.

After installing Java, next is Node.js. If it is not installed on your computer, you can…

--

--