Clone Repo
git clone https://github.com/amitbidwai26/webdriverio.git
Move to folder webdriverio
cd webdriverio
You must have Node.js installed.
npm install
It is considered Java is installed on machine 1.8 version required.
https://java.com/en/download/
Install Webdriver.io Depndency one time
npm run webdriver install
Run/Start the webdriver server:
npm run webdriver start
Add secret.js file to location webdriverio/test/secret.js
module.exports = {
'username' : '*****',
'password' : '*****'
};
Replace * with actual username and password.
node test/example.js
Open newcommand Window move to project folder
node test/example.js