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