From the course: Advanced Selenium: Automation Frameworks

Getting started with Node.js - Selenium Tutorial

From the course: Advanced Selenium: Automation Frameworks

Start my 1-month free trial

Getting started with Node.js

- [Instructor] In this chapter, we'll be learning to automate Node.js. We'll be using Mocha Chai as our expectation and test framework, and we'll be using webdriver.io to handle our Selenium sessions. Node is a JavaScript implementation that allows for asynchronous execution, which makes it a popular language for web development. For our purposes, it means that tests don't necessarily have to wait on each other to complete and execute sequentially, they can run parallel instead. We'll be setting an option on webdriver.io to disable asynchronous execution just for ease of use for now. Node also runs on a very fast engine, the V8 engine, which is the same JavaScript engine used by Google Chrome.

Contents