The files in this folder are for the puppeteer-jest samples. Please follow the steps below to run your jest-puppeteer scripts on BrowserStack:
- Install dependencies using
npm install
- Replace the
YOUR_USERNAME
andYOUR_ACCESS_KEY
in thejest-puppeteer.config.js
file with your BrowserStack credentials - Alternatively, you can set the environment variables
BROWSERSTACK_USERNAME
andBROWSERSTACK_ACCESS_KEY
on your system with the credentials - Run using
jest
(You have to ensure thatjest
is globally installed)