Pre-requisites for Web Test AutomationInstallation Steps for JavaScript Selenium Framework

Installation Steps for JavaScript Selenium Framework

Download and install the latest version of Node.js from the official website ( Node.js).

  1. Installation Requirements and Setup 1.1 Install Node.js and NPM
  2. Running the Tests Applies to the Web Applications using JavaScript Selenium framework.
  3. To perform Web Test Automation using the JavaScript Selenium framework, Node.js is the required component.
  4. The installation method varies depending on your requirement and the platform that you choose to install.

Installation Requirements and Setup

Install Node.js and NPM

The above installations (Node.js) need to be done only once globally, not every time you execute the tests.

Running the Tests

After your test script is created:

  • Install dependencies (only once per script): npm i --force
  • Execute the test script (every time you run it):npm run test