This project is variant of the selenium-side-runner for running tests against the browserstack grid.
npm install @maxmattone/browserstack-side-runner
npx @maxmattone/browserstack-side-runner test.sideDon't forget to use the config file browserstack.yml like so:
# this is how your browserstack.yml should look likeuserName: usernameaccessKey: access_keyplatforms:
- os: WindowsosVersion: 11browserName: ChromebrowserVersion: 103.0
- os: WindowsosVersion: 10browserName: FirefoxbrowserVersion: 102.0
- os: OS XosVersion: Big SurbrowserName: SafaribrowserVersion: 14.1parallelsPerPlatform: 3browserstackLocal: truebuildName: bstack-demoprojectName: BrowserStack Sampledebug: truenetworkLogs: trueconsoleLogs: infoYou can use this online tool to generate your config file based on your needs.