Just notice some thumbnails are showing pop up dialog instead of the site itself.
If Puppeteer[1] is used to screenshot the site, probably need to use the page.click API to close it.
But, one problem with that is you need to know the exact selector name which maybe is not a generic one.