import { chromium } from 'playwright'; const b = await chromium.launch(); const p = await b.newPage({ viewport: { width: 1440, height: 900 } }); await p.goto('http://localhost:3210/', { waitUntil: 'domcontentloaded' }); await p.waitForTimeout(3000); console.log('ledger:', (await p.locator('[data-testid="home-ledger"]').innerText()).replace(/\n+/g,' | ').slice(0, 400)); const metrics = await p.locator('[data-testid="ledger-metric"]').count(); console.log('ledger-metric count:', metrics); console.log('results-slot:', (await p.locator('[data-testid="results-slot-placeholder"]').innerText()).replace(/\n+/g,' | ').slice(0, 260)); console.log('co-creation block:', await p.locator('[data-testid="results-slot-co-creation"]').count()); await b.close();