File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -468,7 +468,7 @@ def __init__(
468468 self .channel = ""
469469 self .chrome_channel = ""
470470 if proxy :
471- warnings .warn ("The 'proxy' parameter is deprecated and will be removed in a future release. Use 'proxy_config' instead." , DeprecationWarning )
471+ warnings .warn ("The 'proxy' parameter is deprecated and will be removed in a future release. Use 'proxy_config' instead." , UserWarning )
472472 self .proxy = proxy
473473 self .proxy_config = proxy_config
474474 if isinstance (self .proxy_config , dict ):
@@ -478,7 +478,6 @@ def __init__(
478478
479479 if self .proxy and self .proxy_config :
480480 warnings .warn ("Both 'proxy' and 'proxy_config' are provided. 'proxy_config' will take precedence." , UserWarning )
481- print (f"[DEBUG] Both proxy and proxy_config provided. Setting proxy to None." )
482481 self .proxy = None
483482 elif self .proxy :
484483 # Convert proxy string to ProxyConfig if proxy_config is not provided
You can’t perform that action at this time.
0 commit comments