Skip to content

Commit 175bb1a

Browse files
committed
Avoid Guest Mode on Edge if using a proxy with auth
1 parent 5a57bf7 commit 175bb1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seleniumbase/core/browser_launcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2255,7 +2255,7 @@ def get_local_driver(
22552255
edge_options.add_argument("--disable-sync")
22562256
if (
22572257
(guest_mode or IS_WINDOWS or selenium4_or_newer)
2258-
and not recorder_ext and not disable_csp
2258+
and not recorder_ext and not disable_csp and not proxy_auth
22592259
):
22602260
edge_options.add_argument("--guest")
22612261
if headless2:

0 commit comments

Comments
 (0)