Creating a sample repo for different Playwright languages and runners
Playwright Integration with BrowserStack.
- Clone the repo and run
cd typescript-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
- Run a website on http://localhost:5500
- 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