Development Setup: JavaScript

To create Selenium test cases using JavaScript you will need to setup your development environment correctly. For this, you can use any JavaScript IDE and a unit test framework of your choice. This lesson contains examples for Mocha but any other Unit Testing framework can also be used.

In this lesson you will learn:

  • Setup NodeJS and Mocha
  • Add the webdriver package
  • Run test cases

Prerequisites:

Ideally, you should complete these lessons first:

Get Started: