Playwright Integration with BrowserStack.
- Clone the repo and run
cd node-js-playwright-browserstack
- Set
BROWSERSTACK_USERNAME
andBROWSERSTACK_ACCESS_KEY
as environment variables with your BrowserStack Username and Access Key - Run
npm i
- To run a sample test, run
npm run sample-test
- To run a sample test, run
npm run mobile-test
- Run
npm run sample-local-test
Understand how many parallel sessions you need by using our Parallel Test Calculator
- You can view your test results on the BrowserStack Automate dashboard