diff --git a/playwriter/src/relay-session.test.ts b/playwriter/src/relay-session.test.ts index 44fa66f..ea341dd 100644 --- a/playwriter/src/relay-session.test.ts +++ b/playwriter/src/relay-session.test.ts @@ -153,9 +153,17 @@ describe('CDP Session Tests', () => { const browserContext = getBrowserContext() const serviceWorker = await getExtensionServiceWorker(browserContext) - // Use a page with actual script URLs (not just inline scripts) + // Use setContent with external script URLs so Debugger.listScripts returns them const page = await browserContext.newPage() - await page.goto('https://news.ycombinator.com/') + await page.setContent(` + +
+ + + +