3 ms·
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
by max23_ 9y ago
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.
[1] https://github.com/GoogleChrome/puppeteer https://github.com/GoogleChrome/puppeteer
- aaronhoffman 9y agoYou could try pressing 'escape' maybe? Works for some sites
- max23_ 9y agoI think that will work too as there is an API for generating keypress event.