import { chromium } from 'playwright';
const b = await chromium.launch({ executablePath:'/usr/bin/chromium-browser', args:['--no-sandbox'] });
const p = await b.newPage({ viewport:{ width:1000, height:900 }, deviceScaleFactor:2 });
await p.goto('file:///home/app/polymarket-screener/redesign/mockup/_fonts.html', { waitUntil:'networkidle', timeout:30000 });
await p.waitForTimeout(1500);
await p.screenshot({ path:'_fonts.png', fullPage:true });
await b.close(); console.log('done');