Skip to content

Commit 0caab81

Browse files
committed
chore: update README
1 parent da6e157 commit 0caab81

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

README.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,18 @@
11
# node-js-playwright-browserstack
2-
3-
[Playwright](https://playwright.dev/docs/intro) Integration with BrowserStack.
2+
This repo contains samples for running [Playwright](https://playwright.dev/docs/intro) tests on BrowserStack using the browserstack-node-sdk.
43

54
![BrowserStack Logo](https://d98b8t1nnulk5.cloudfront.net/production/images/layout/logo-header.png?1469004780)
65

76
## Setup
87

9-
* 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.
1211

1312
## Running your tests
1413

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`.
2115

2216
## Notes
2317
* 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

Comments
 (0)