This repo contains samples for running Playwright tests on BrowserStack using the browserstack-node-sdk.
- Clone the repo
git clone https://github.com/browserstack/browserstack-playwright-load-testing-sample.git. - Set
BROWSERSTACK_USERNAMEandBROWSERSTACK_ACCESS_KEYas environment variables with your BrowserStack Username and Access Key - Run
npm ito install the dependencies. - Update the same in
browserstack-load.yamlfile.
- To run the sample tests in parallel across the platforms specified in the
browserstack-load.yaml, runnpx browserstack-cli load run.
- You can view your test results on the BrowserStack Load-Testing dashboard
