1
Blank screenshot or missing content
If the page loads content after navigation, set
page.waitForSelector.selector to a CSS selector for the content.
If the ad blocker is hiding an element you need, set page.adblock to false.
See Page options.2
PDF missing background
Try setting
pdf.printBackground to true to print the background graphics.