puppeteer-trace-cli

1.0.1 • Public • Published

Puppeteer trace CLI

Simple wrapper around Puppeteer to trace webpage from command line.

Usage

npm i [-g] puppeteer-trace-cli
 
puppeteer-trace --url 'http://perdu.com' --output ./trace.json
puppeteer-trace -u 'http://perdu.com' -o - > /tmp/trace.json
puppeteer-trace 'http://perdu.com' > trace.json
 

Options

  Headless screenshot with Puppeteer

    -u, --url string      URL to navigate page to. The url should include scheme, e.g. https://.

    -o, --output string   A path to write the trace file to.

    -s, --screenshots     Captures screenshots in the trace.
                          Default: false

    -w, --width number    Viewport width in pixels
                          Default: 800

    -h, --height number   Viewport height in pixels
                          Default: 600

    -?, --help            This help

See also

Readme

Keywords

Package Sidebar

Install

npm i puppeteer-trace-cli

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

4.53 kB

Total Files

5

Last publish

Collaborators

  • bastyen
  • dtrucs
  • pacproduct
  • mab
  • makinacorpus
  • jrmi