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

Doesn't run on Apple M1 (can't set executablePath to work around it, either). #27

Open pocketarc opened 3 years ago

pocketarc commented 3 years ago

Right now, buildLaunchOptions only sets args. If it could set the executablePath, it'd be possible to point Puppeteer to a local copy of Chromium (since there is no ARM Chromium build available yet).

If there is interest, I'd be happy to look into building this in, testing, and raising a pull request.