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`
8
+
* Clone the repo `git clone -b sdk https://github.com/browserstack/node-js-playwright-browserstack.git`and run `cd node-js-playwright-browserstack`.
9
+
* Set `BROWSERSTACK_USERNAME` and `BROWSERSTACK_ACCESS_KEY` as environment variables with your [BrowserStack Username and Access Key](https://www.browserstack.com/accounts/settings) or update the same in `browserstack.yml` file.
10
+
* Run `npm i` to install the dependencies.
12
11
13
12
## Running your tests
14
13
15
-
- To run a sample test, run `npm run sample-test`
16
-
17
-
## Run tests on locally hosted websites
18
-
* Run `npm run sample-local-test`
19
-
20
-
Understand how many parallel sessions you need by using our [Parallel Test Calculator](https://www.browserstack.com/automate/parallel-calculator?ref=github)
14
+
- To run the sample tests in parallel across the platforms specified in the `browserstack.yml`, run `npm run sample-test`.
21
15
22
16
## Notes
23
17
* You can view your test results on the [BrowserStack Automate dashboard](https://www.browserstack.com/automate)
18
+
* Understand how many parallel sessions you need by using our [Parallel Test Calculator](https://www.browserstack.com/automate/parallel-calculator?ref=github)
0 commit comments