hardkoded / puppeteer-sharp

Headless Chrome .NET API
https://www.puppeteersharp.com
MIT License
3.36k stars 440 forks source link

Generate PDF using Chromium/Firefox #2710

Closed pguerra-ateam closed 2 months ago

pguerra-ateam commented 2 months ago

I'm trying to generate a PDF in Linux Arm64. I understand Chrome is not available for this platform, but Chromium and Firefox are. According to this comment PDF generation is only supported in Chrome headless.

How hard would it be to support Chromium and/or Firefox for PDF generation? I'm essentially trying to understand the challenges involved to see whether this is something I could tackle myself or not.

Thank you!

kblok commented 2 months ago

You should be able to generate PDFs using Chrome (not firefox) in Ubuntu. Our tests run in Ubuntu :)