import { chromium } from '@playwright/test'; const b = await chromium.connectOverCDP('http://localhost:9333'); const p = b.contexts()[0].pages().find((x) => x.url().startsWith('http://localhost:4175')); await p.reload(); await p.waitForTimeout(2000); console.log(await p.evaluate(() => performance.getEntriesByType('resource').map((r) => r.name).filter((n) => /worker|index-/.test(n)))); await b.close().catch(() => {});