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_USERNAME
andBROWSERSTACK_ACCESS_KEY
as environment variables with your BrowserStack Username and Access Key - Run
npm i
to install the dependencies. - Update the same in
browserstack-load.yaml
file.
- 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