Friday, 17 July 2020

Why does a page reload after taking a screenshot with puppeteer?

I'm experimenting with taking screenshots with Puppeteer on localhost, however after every screenshot I take the page reloads. I take screenshots from data that I load into the dom from a database so after every screenshot it has to retrieve all the data again which makes it very inefficient. Any help is much appreciated :D!

Submitted July 17, 2020 at 01:02PM by sukalaminkia

No comments:

Post a Comment