https://github.com/browserstack/typescript-playwright-browserstack
Creating a sample repo for different Playwright languages and runners
https://github.com/browserstack/typescript-playwright-browserstack
Last synced: 21 days ago
JSON representation
Creating a sample repo for different Playwright languages and runners
- Host: GitHub
- URL: https://github.com/browserstack/typescript-playwright-browserstack
- Owner: browserstack
- Created: 2023-05-22T08:50:13.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-22T19:33:48.000Z (over 2 years ago)
- Last Synced: 2026-02-16T05:58:32.084Z (about 1 month ago)
- Language: TypeScript
- Size: 12.7 KB
- Stars: 3
- Watchers: 6
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# typescript-playwright-browserstack
Creating a sample repo for different Playwright languages and runners
[Playwright](https://playwright.dev/docs/intro) Integration with BrowserStack.

## Setup
* Clone the repo and run `cd typescript-playwright-browserstack`
* Set `BROWSERSTACK_USERNAME` and `BROWSERSTACK_ACCESS_KEY` as environment variables with your [BrowserStack Username and Access Key](https://www.browserstack.com/accounts/settings)
* Run `npm i`
## Running your tests
- To run a sample test, run `npm run sample-test`
## Run tests on locally hosted websites
* Run a website on http://localhost:5500
* Run `npm run sample-local-test`
Understand how many parallel sessions you need by using our [Parallel Test Calculator](https://www.browserstack.com/automate/parallel-calculator?ref=github)
## Notes
* You can view your test results on the [BrowserStack Automate dashboard](https://www.browserstack.com/automate)