- Install Node (most suitable version is 12.18.2)
- If you want to execute on Virtual Devices have it installed
- Create NPM project - can use terminal command as
'mkdir VodQA-webdriverio && cd VodQA-webdriverio'
'npm init -y'
- Install WebdriverIO CLI (npm package)
'npm i --save-dev @wdio/cli'
- Generate Configuration File
'npx wdio config -y'
- Create test file
- Verify the path of spec file you want to execute in config file
- Run the script
'npx wdio wdio.conf.js'