Skip to content

Test Code to Illustrate Issue with Page.printToPDF in Chromium

License

Notifications You must be signed in to change notification settings

JavaScriptDude/Chromium_PDF_Issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Chromium PDF Issue

[UPDATE] - This issue has been resolve: https://bugs.chromium.org/p/chromedriver/issues/detail?id=3517

Test Code to Illustrate Issue with Page.printToPDF in Chromium

Illustration of issue where Chromium cannot generate PDF calling Page.printToPDF with headless=False

Test Dependencies:

  • Python:
python3 -m pip install selenium==4.1.3

Note: This issue has been reproduced using Puppeteer, Pyppeteer, Deno Puppeteer and Selenium.

Error returned from inspector when headless=False:

{"code":-32000, "message": "Printing is not available"}

About

Test Code to Illustrate Issue with Page.printToPDF in Chromium

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages