Closed nmccalme closed 1 year ago
@nmccalme Did you try printing your page to pdf in Google Chrome browser, without Playwright? I think this could be a Chromium change, a new printing feature LayoutNGPrinting
was enabled recently.
If things work in Google Chrome, but not with Playwright, could you please provide a publicly accessible page that is printed incorrectly?
@dgozman I'm going to close this as a duplicate of Puppeteer bug 9228. Looks like our symptoms are a little bit different, but incorporating the workaround mentioned there (disable LayoutNGPrinting) did work. So we just need to wait for the upstream bugfix to make it in.
I have just migrated from puppeteer
to playwright@1.37.1
, reproduced the same problem
Then try to use playwright@1.27.0
and find that it is normal
playwright@1.28.0~1.37.1
playwright@1.27.0
I am having this issue too wiht latest version of playwright and chroimun version 128.
Context:
Describe the bug
We are using Playwright to generate PDFs of internal web pages. When we upgraded to 1.28.0, we discovered that pages that rendered into PDFs with multiple pages (tough to determine an exact breaking point, but certainly at 3 PDF pages) started cutting off at the bottom.