Bulk website screenshots in Python with Playwright: full-page, mobile, PDF and no cookie banners (2026)
DEV Community
Bulk website screenshots in Python with Playwright: full-page, mobile, PDF and no cookie banners (2026)
A ~100-line async Playwright script that screenshots a list of URLs as desktop, mobile (iPhone viewport), full-page or PDF, hides cookie banners, triggers lazy images and caps runaway page heights. Tested on six real sites, with the numbers.
0 comments
No comments yet.