07souravkunda / node-js-playwright-browserstack

Creating a sample repo for different Playwright languages and runners

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-js-playwright-browserstack

Playwright Integration with BrowserStack.

BrowserStack Logo

Setup

  • Clone the repo and run cd node-js-playwright-browserstack
  • Set BROWSERSTACK_USERNAME and BROWSERSTACK_ACCESS_KEY as environment variables with your BrowserStack Username and Access Key
  • Run npm i

Running your tests

  • To run a sample test, run npm run sample-test

Running your tests on mobile

  • To run a sample test, run npm run mobile-test

Run tests on locally hosted websites

  • Run npm run sample-local-test

Understand how many parallel sessions you need by using our Parallel Test Calculator

Notes

About

Creating a sample repo for different Playwright languages and runners


Languages

Language:JavaScript 100.0%