diff --git a/test/unit/browser/index.js b/test/unit/browser/index.js index 3bb6005e7a0..115730256a1 100644 --- a/test/unit/browser/index.js +++ b/test/unit/browser/index.js @@ -146,7 +146,7 @@ function consoleLogFn(msg) { } async function runTestsInBrowser(testModules, browserType) { - const browser = await playwright[browserType].launch({ headless: !Boolean(argv.debug) }); + const browser = await playwright[browserType].launch({ headless: !Boolean(argv.debug), devtools: Boolean(argv.debug) }); const context = await browser.newContext(); const page = await context.newPage(); const target = url.pathToFileURL(path.join(__dirname, 'renderer.html'));