Unverified Commit 2a411664 authored by Sebastian "Sebbie" Silbermann's avatar Sebastian "Sebbie" Silbermann Committed by GitHub

Update turbopack/packages/devlow-bench/src/browser.ts

Co-authored-by: 's avatarvercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
parent a43f977a
...@@ -348,7 +348,7 @@ export async function newBrowserSession(options: { ...@@ -348,7 +348,7 @@ export async function newBrowserSession(options: {
}): Promise<BrowserSession> { }): Promise<BrowserSession> {
const browser = await chromium.launch({ const browser = await chromium.launch({
headless: options.headless ?? process.env.HEADLESS !== 'false', headless: options.headless ?? process.env.HEADLESS !== 'false',
args: options.headless ? ['--auto-open-devtools-for-tabs'] : undefined, args: options.headless ? undefined : ['--auto-open-devtools-for-tabs'],
timeout: 60000, timeout: 60000,
}) })
const context = await browser.newContext({ const context = await browser.newContext({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment