Open vindolin opened 5 years ago
We also need this functionality
Can confirm, but this looks like it is a Chrome issue. This means that PDFs generated with headless Chrome can't have watermarks added or merged properly into other documents with watermarks or backgrounds.
When I export a pdf, the resulting file always has an opaque background.
This is problematic when one wants to combine the exported pdf with an existing background/header/footer in another pdf via pdftk.
For the node version there's an ugly workaround that uses page._emulationManager._client for setting the background to transparent.
GoogleChrome/puppeteer#2545
Can this be done with pyppeteer?