Reputation: 6914
in puppeteer, you can only download pdf in headless mode,
what might be the reason(technical challenges, or otherwise) that it could not be implemented in head full mode?
if you go to https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#pagepdfoptions
it says Generating a pdf is currently only supported in Chrome headless.
but I was curious why this might be the case.
Upvotes: 1
Views: 2113