Skip to main content

Set up

Running your tests with WebdriverIO is easy. This guide will help you to set up your project in a few steps

Webdriverio setup

Setup your project

Make a new project directory manually or executing on the command line: 

Shell

# Create a new folder for WebDriverIO
mkdir webdriverio
cd webdriverio

# Run npm command to init WebDriverIO
npm init wdio .

# Click ENTER (confirm) on all the questions from the command

#Create a spec file
mkdir test\specs && cd test\specs
echo myTest > myTest.js