Skip to main content

Posts tagged with #module

Recent Posts (Page %!s(int=1))

Photo by Shubh karman Singh via Unsplash

Refactoring my screenshot script

My go-to-script to create a screenshot as header images of posts about a website was for a long time this: js 1const { chromium } = require('playwright'); 2(async () => { 3let browser = await chromium.launch(); 4 let page = await browser.

Back to top