const { chromium } = require('playwright') ;(async () => { const browser = await chromium.launch() const page = await browser.newPage({ viewport: { width: 390, height: 844 } }) // iPhone-ish await page.goto('http://localhost:5173/?room=SHOTTEST') await page.waitForTimeout(3000) await page.screenshot({ path: '/tmp/curltastic_waiting.png', fullPage: false }) await browser.close() })()