- Clone the repo
git clone https://github.com/SachinMNair/WDIO-local-sample.git
- Install dependencies
npm install
- Export credentials
export BROWSERSTACK_USERNAME=<browserstack-username>
export BROWSERSTACK_ACCESS_KEY=<browserstack-access-key>
- Run the test
npm run wdio
- Check whether the website is loading or not before the session ends
- If the website loads, check the time it took to load
- Check the local console logs to see if there is any timeout error received