← Back
import { chromium } from 'playwright';
const b = await chromium.launch({ executablePath:'/usr/bin/chromium-browser', args:['--no-sandbox'] });
const p = await b.newPage({ viewport:{ width:1060, height:840 }, deviceScaleFactor:2 });
await p.goto('file:///home/app/polymarket-screener/redesign/mockup/phase2-branding.html');
await p.waitForTimeout(500);
const cols = await p.$$('.col');
const names = ['A-deep-whale','B-violet','C-terminal'];
for (let i=0;i<cols.length;i++){
  await cols[i].screenshot({ path:`/home/app/polymarket-screener/redesign/mockup/phase2-${names[i]}.png` });
}
await b.close();
console.log('done');

📜 Git History

4814806design: Phase 2 final visual language (Stand layout + Olympus palette) + 4 screens12 days ago
Show last diff
Loading...