Installation Steps for JavaScript Selenium Framework
Download and install the latest version of Node.js from the official website ( Node.js).
- Installation Requirements and Setup 1.1 Install Node.js and NPM
- Running the Tests Applies to the Web Applications using JavaScript Selenium framework.
- To perform Web Test Automation using the JavaScript Selenium framework, Node.js is the required component.
- 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
Was this page helpful?