Skip to content

Sample code for running sessions with Codecept Playwright on Browserstack

Notifications You must be signed in to change notification settings

browserstack/codecept-js-playwright-browserstack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published