Mocha Integration with BrowserStack for E2E functional testing of UI using Selenium and browserstack-node-sdk.
npm install
npx setup --username userName --key accessKey
npm run sample-test
or yarn run sample-test
npm run sample-local-test
or yarn run sample-local-test
npm i -D browserstack-node-sdk
or
yarn add --dev browserstack-node-sdk
npx setup --username userName --key accessKey
"scripts": {
"test": "mocha ...args",
"browserstack-test": "browserstack-node-sdk mocha ...args"
},