You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fails at page.pdf(...) with ProtocolError: Protocol error (Page.printToPDF): Printing is not available.
Puppeteer version
13.5.1
Node.js version
17.0.1
npm version
17.0.1
What operating system are you seeing the problem on?
Linux
Relevant log output
/dpool/vcmain/dev/js/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:230
error: new Errors_js_1.ProtocolError(),
^
ProtocolError: Protocol error (Page.printToPDF): Printing is not available
at /dpool/vcmain/dev/js/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:230:24
at new Promise (<anonymous>)
at CDPSession.send (/dpool/vcmain/dev/js/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:226:16)
at Page.createPDFStream (/dpool/vcmain/dev/js/node_modules/puppeteer/lib/cjs/puppeteer/common/Page.js:2074:50)
at Page.pdf (/dpool/vcmain/dev/js/node_modules/puppeteer/lib/cjs/puppeteer/common/Page.js:2103:37)
at /dpool/vcmain/dev/js/puppeteer/pdf_test/example.js:7:14
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
originalMessage: 'Printing is not available'
}
The text was updated successfully, but these errors were encountered:
I suspect this is something on my system specifically and related to chromium but I cannot figure out what the issue is and was hoping if someone on this project may be able to give me some troubleshooting hints.
JavaScriptDude
changed the title
[Bug]: Protocol error (Page.printToPDF): Printing is not available
[Bug]: Protocol error (Page.printToPDF) - When headless=false
Mar 23, 2022
Bug description
Steps to reproduce the problem:
Fails at
page.pdf(...)
withProtocolError: Protocol error (Page.printToPDF): Printing is not available
.Puppeteer version
13.5.1
Node.js version
17.0.1
npm version
17.0.1
What operating system are you seeing the problem on?
Linux
Relevant log output
The text was updated successfully, but these errors were encountered: