Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/grandel-dsouza/playwright-with-browserstack-node-sdk-in-full-screen-mode
Playwright-with-BrowserStack-Node-SDK-in-full-screen-mode
https://github.com/grandel-dsouza/playwright-with-browserstack-node-sdk-in-full-screen-mode
browserstack browserstack-automate grandel grandeldsouza javascript node-js playwright playwright-javascript viewport
Last synced: about 2 months ago
JSON representation
Playwright-with-BrowserStack-Node-SDK-in-full-screen-mode
- Host: GitHub
- URL: https://github.com/grandel-dsouza/playwright-with-browserstack-node-sdk-in-full-screen-mode
- Owner: grandEL-dsouza
- Created: 2024-07-07T19:42:07.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-08T18:47:29.000Z (6 months ago)
- Last Synced: 2024-10-10T23:46:41.529Z (2 months ago)
- Topics: browserstack, browserstack-automate, grandel, grandeldsouza, javascript, node-js, playwright, playwright-javascript, viewport
- Language: JavaScript
- Homepage:
- Size: 69.3 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Playwright-with-BrowserStack-Node-SDK-in-full-screen-mode
# node-js-playwright-browserstack
This repo contains samples for running [Playwright](https://playwright.dev/docs/intro) tests on BrowserStack using the browserstack-node-sdk in fullscreen mode.## Setup
* Clone the repo `git clone -b sdk https://github.com/grandEL-dsouza/Playwright-with-BrowserStack-Node-SDK-in-full-screen-mode.git` and run `cd Playwright-with-BrowserStack-Node-SDK-in-full-screen-mode`.
* 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.
* Run `npm i` to install the dependencies.## Running your tests
- To run the sample tests in parallel across the platforms specified in the `browserstack.yml`, run `npm run sample-test`.
- To run the sample local tests in parallel across the platforms specified in the `browserstack.yml`, run `npm run sample-local-test`.## Notes
* You can view your test results on the [BrowserStack Automate dashboard](https://www.browserstack.com/automate)
* Understand how many parallel sessions you need by using our [Parallel Test Calculator](https://www.browserstack.com/automate/parallel-calculator?ref=github)