Skip to content

Commit 50d76d7

Browse files
committed
(#36462): fix(chromium): fix compatibility with Edge msRelaunchNoCompatLayer feature
Signed-off-by: Max Schmitt <[email protected]>
1 parent 48be646 commit 50d76d7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,7 @@ export const chromiumSwitches = (assistantMode?: boolean, channel?: string) => [
8484
'--disable-search-engine-choice-screen',
8585
// https://issues.chromium.org/41491762
8686
'--unsafely-disable-devtools-self-xss-warnings',
87+
// Edge can potentially restart on Windows (msRelaunchNoCompatLayer) which looses its file descriptors (stdout/stderr) and CDP (3/4). Disable until fixed upstream.
88+
'--edge-skip-compat-layer-relaunch',
8789
assistantMode ? '' : '--enable-automation',
8890
].filter(Boolean);

0 commit comments

Comments
 (0)