Page tree
Skip to end of metadata
Go to start of metadata
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
  • No labels