To install WebdriverIO you need to install Node.js and NPM first.
After installation of both you need to install Webdriverio and wdio. Here wdio is test runner.
The package can be installed locally or globally but it is recommend to install it per project.
You also need to setup your selenium environment and browsers.
Follow below steps to install it to Window 10
1. Install Node.js and NPM
Follow this link to install Node.js and NPM on window 10
2. Go to your Project directory
cd myproject
3 Install Webdriverio
If you want to have WebdriverIO integrated into your test suite, then install it locally with:
npm install webdriverio --save-dev
4. Verify wdio
a. go to bin directory
cd node_modules/.bin
b. type
wdio --help
5. Set up your Selenium Environment
6. Download Browser
Related Content
Tags