Puppeteer-simple-cli is a really simple puppeteer tool for End to End test. Integrate lint-related tools and preset a high-maintenance test architecture.
npm i -g puppeteer-simple-cli
psc
psc init <project-name>
psc update
npm run test
module.exports = {
targetURL: '', // It's your target URL
pipelines: [ // Execute your situation in order
{
title: 'Situation description',
path: 'Your script path'
}
],
config: { headless: false, slowMo: 50, defaultViewport: null }, // Puppeteer config
retry: 1, // Number of retries
getClientLog: false // Whether to accept client log
};