I am working on creating PDF from web page.
The application on which I am working is single page application.
I tried many options and suggestion on https://
You can also use to ensure all elements have rendered
await page.waitFor('*')
Reference: https://github.com/puppeteer/puppeteer/issues/1875