Socket
Socket
Sign inDemoInstall

puppeteer-simple-cli

Package Overview
Dependencies
155
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    puppeteer-simple-cli

Build your e2e testing with puppeteer simple structure.


Version published
Weekly downloads
1
Maintainers
1
Install size
9.69 MB
Created
Weekly downloads
 

Readme

Source

Puppeteer-simple-cli

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.

Get Started

npm i -g puppeteer-simple-cli
Basic usage
Information
psc
Create a project
psc init <project-name>
Update puppeteer-simple-cli-cores
psc update
Start testing
npm run test
Create src/main.config.js and addition config
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
};

License

MIT

FAQs

Last updated on 15 Jul 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc