You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Clone the repo and run `cd node-js-playwright-browserstack`
10
+
* Set `BROWSERSTACK_USERNAME` and `BROWSERSTACK_ACCESS_KEY` as environment variables with your [BrowserStack Username and Access Key](https://www.browserstack.com/accounts/settings)
11
+
* Run `npm i`
12
+
13
+
## Running your tests
14
+
15
+
- To run a single test, run `npx playwright test`
16
+
17
+
## Run tests on locally hosted websites
18
+
* Set `browserstack.local:true` in `browserstack.config.js`
19
+
* uncomment line 22,23,24 where we are triggring BrowserStackLocal language binding
20
+
* Add test file inside tests directory
21
+
* Run `npx playwright test`
22
+
23
+
Understand how many parallel sessions you need by using our [Parallel Test Calculator](https://www.browserstack.com/automate/parallel-calculator?ref=github)
24
+
25
+
## Notes
26
+
* You can view your test results on the [BrowserStack Automate dashboard](https://www.browserstack.com/automate)
0 commit comments