Hi!
On creation of a browser or context (permanent or otherwise), is it possible to set the config value AlwaysOpenPdfExternally or the equivalent plugins.always_open_pdf_externally preference?
I've tried a kludgy solution that has me navigate to chrome://settings/content/pdfDocuments on load and click the option. But we need to use Chromium in headless to export PDFs of pages as well as download PDF files that the browser always opens in its embedded viewer… and there seems to be no way of getting the actual PDF content out of that viewer.
Any help would be appreciated.
Cheers, Wayne
Hi!
On creation of a browser or context (permanent or otherwise), is it possible to set the config value
AlwaysOpenPdfExternallyor the equivalentplugins.always_open_pdf_externallypreference?I've tried a kludgy solution that has me navigate to
chrome://settings/content/pdfDocumentson load and click the option. But we need to use Chromium in headless to export PDFs of pages as well as download PDF files that the browser always opens in its embedded viewer… and there seems to be no way of getting the actual PDF content out of that viewer.Any help would be appreciated.
Cheers, Wayne