Skip to content

Files

Latest commit

176ebc3 · Apr 6, 2022

History

History
This branch is 6 commits ahead of, 8 commits behind browserstack/puppeteer-browserstack:main.

puppeteer-jest

Get started with jest-puppeteer on BrowserStack

The files in this folder are for the puppeteer-jest samples. Please follow the steps below to run your jest-puppeteer scripts on BrowserStack:

  1. Install dependencies using npm install
  2. Replace the YOUR_USERNAME and YOUR_ACCESS_KEY in the jest-puppeteer.config.js file with your BrowserStack credentials
  3. Alternatively, you can set the environment variables BROWSERSTACK_USERNAME and BROWSERSTACK_ACCESS_KEY on your system with the credentials
  4. Run using jest (You have to ensure that jest is globally installed)