Skip to content

Commit 678e90a

Browse files
committed
Do not use "--disable-extensions" (it breaks proxy auth)
1 parent 4fe0dc7 commit 678e90a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

seleniumbase/core/browser_launcher.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,6 @@ def _set_chrome_options(
217217
# Headless Chrome doesn't support extensions, which are required
218218
# for disabling the Content Security Policy on Chrome
219219
chrome_options = _add_chrome_disable_csp_extension(chrome_options)
220-
elif not extension_zip and not extension_dir:
221-
if servername == "localhost" or servername == "127.0.0.1":
222-
chrome_options.add_argument("--disable-extensions")
223220
if proxy_string:
224221
if proxy_auth:
225222
chrome_options = _add_chrome_proxy_extension(

0 commit comments

Comments
 (0)