import { chromium } from 'playwright'; const b = await chromium.launch(); for (const [w,h,tag] of [[1440,900,'desk'],[390,844,'mob']]) { const ctx = await b.newContext({ viewport: { width: w, height: h }, colorScheme: 'dark' }); const p = await ctx.newPage(); for (const path of ['/', '/models/claude-fable-5.1', '/benchmarks/gpqa']) { await p.goto('https://www.ai-atlas.co' + path, { waitUntil: 'networkidle', timeout: 60000 }).catch(()=>{}); await p.screenshot({ path: `/tmp/aia-${tag}-${path.replace(/[^a-z0-9]+/gi,'_')||'home'}.png`, fullPage: false }); } await ctx.close(); } await b.close();