Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)