import { chromium } from 'playwright';
const b = await chromium.launch({ executablePath:'/usr/bin/chromium-browser', args:['--no-sandbox'] });
const p = await b.newPage({ viewport:{ width:1040, height:1400 }, deviceScaleFactor:2 });
await p.goto('file:///home/app/icbc-watcher/mockup/polikopi-ia.html');
await p.waitForTimeout(400);
await p.screenshot({ path:'/home/app/icbc-watcher/mockup/polikopi-ia.png', fullPage:true });
await b.close();
console.log('done');
📜 Git History
6c47fa4chore: local Polikopi project home + Phase 1 redesign artifacts12 days ago
Show last diff
Loading...