File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -3137,7 +3137,9 @@ def get_driver(
3137
3137
proxy_string , proxy_scheme = proxy_helper .validate_proxy_string (
3138
3138
proxy_string , keep_scheme = True
3139
3139
)
3140
- if proxy_string and proxy_user and proxy_pass :
3140
+ if proxy_user and not proxy_pass :
3141
+ proxy_pass = ""
3142
+ if proxy_string and proxy_user :
3141
3143
proxy_auth = True
3142
3144
elif proxy_pac_url :
3143
3145
username_and_password = None
@@ -3164,7 +3166,9 @@ def get_driver(
3164
3166
)
3165
3167
if not proxy_pac_url .lower ().endswith (".pac" ):
3166
3168
raise Exception ('The proxy PAC URL must end with ".pac"!' )
3167
- if proxy_pac_url and proxy_user and proxy_pass :
3169
+ if proxy_user and not proxy_pass :
3170
+ proxy_pass = ""
3171
+ if proxy_pac_url and proxy_user :
3168
3172
proxy_auth = True
3169
3173
if (
3170
3174
is_using_uc (undetectable , browser_name )
You can’t perform that action at this time.
0 commit comments