Fortress of Solitude – Configuring WebdriverIO
In this chapter, we will install WebdriverIO and its dependencies. There are two approaches, and we will discuss the advantages of each. It is also important to keep the versions of the dependencies up to date. To help with this, we will use Yarn to keep our package.json and yarn.lock files up to date.
The setup instructions for WDIO can be found in the Getting Started section on the official website (https://webdriver.io/docs/gettingstarted):
Figure 2.1 – Getting Started
Figure 2.2 – Current documentation indicators for version 7.x
In this section, we'll cover the following main topics:
- WebdriverIO setup
- Building and installing the project dependencies
- Making out first commit
Tip
Be sure you are viewing the latest version of WDIO 8.0. Googling questions about WDIO features can lead to support pages of prior versions.