Skip to content

Commit 064c94a

Browse files
committed
chore: disable infobars in Chromium
This is to get rid of the Chrome for Testing infobar that's visible for the persistent context.
1 parent a96c870 commit 064c94a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/playwright-core/src/server/chromium/chromiumSwitches.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,5 @@ export const chromiumSwitches = (assistantMode?: boolean, channel?: string) => [
8282
// Edge can potentially restart on Windows (msRelaunchNoCompatLayer) which looses its file descriptors (stdout/stderr) and CDP (3/4). Disable until fixed upstream.
8383
'--edge-skip-compat-layer-relaunch',
8484
assistantMode ? '' : '--enable-automation',
85+
'--disable-infobars',
8586
].filter(Boolean);

0 commit comments

Comments
 (0)