Skip to content

Browserstack

Dennis Li edited this page Aug 15, 2024 · 9 revisions

Prerequisites

  • In order to run your tests on Browserstack automate, you'll need a Browserstack account with automate access.
  • Install the browserstack-node-sdk, which is included in the nala repository's dependencies.
  • Add your Browserstack username and access key to your env variables. You can find them under https://www.browserstack.com/accounts/profile/details.

How to execute tests

You just need to add 'browserstack-node-sdk' in your test run command.

Regular run:

npx playwright test -g @block

Running on Browserstack:

npx browserstack-node-sdk playwright test -g @block

Documentation

https://www.browserstack.com/docs/automate/playwright/getting-started/nodejs

Browserstack config yml file

https://github.com/adobecom/nala/blob/main/browserstack.yml

Available browser options

https://www.browserstack.com/list-of-browsers-and-platforms/playwright

Note:

iOS and iPad os isn't available.

Clone this wiki locally