Skip to content

browserstack/codecept-js-playwright-browserstack

Repository files navigation

CodeceptJS-Playwright-Browserstack

Integrating Playwright Node.js and CodeceptJS Node.js with BrowserStack BrowserStack

Setup

  • Clone the repo git clone https://github.com/browserstack/codecept-js-playwright-browserstack.git.
  • Run cd codecept-js-playwright-browserstack.
  • Install dependencies npm install

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 export the environment variables for the Username and Access Key of your BrowserStack account.

    export BROWSERSTACK_USERNAME=<browserstack-username> &&
    export BROWSERSTACK_ACCESS_KEY=<browserstack-access-key>
    
  • You can view your test results on the BrowserStack Automate dashboard

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

Addtional Resources

About

Sample code for running sessions with Codecept Playwright on Browserstack

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors