JarvusInnovations / puppeteer-cli

A general command-line wrapper for puppeteer. Currently only supports one command—`print`—to render a local/or remote HTML file to PDF. Aims to be a easy replacement for the deprecated wkhtmltopdf.
MIT License
54 stars 25 forks source link

Adding 'screenshot' command #3

Closed ahmedmohiduet closed 5 years ago

themightychris commented 5 years ago

@ahmedmohiduet merged! I'm changing the behavior a bit from your PR though to make the fullPage option default to true, so to use as you intended you'll need to add the option --no-full-page

themightychris commented 5 years ago

Thanks for your contribution @ahmedmohiduet!

This is published in version 1.3.1

ahmedmohiduet commented 5 years ago

@ahmedmohiduet merged! I'm changing the behavior a bit from your PR though to make the fullPage option default to true, so to use as you intended you'll need to add the option --no-full-page

Thank you @themightychris!