KonradP KonradP - 1 month ago 23
Javascript Question

Usage of chrome headless for making PDF (puppeteer)

I wondering how can I get PDF using Chrome Headless (for example puppeteer). It seems like a good PDF maker but only on chrome using @media print. So here is my question:

Can I get PDF by puppeteer on another browser (ie, mozilla) too? I think I can do that if I want print static page with no inputs. But if I have inputs for users and they are saving it on IE. Can I use this somehow?

Answer Source

No - Puppeteer only works with Chromium/Chrome.