We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4cd3f0 commit 6684096Copy full SHA for 6684096
py/selenium/webdriver/remote/client_config.py
@@ -97,16 +97,14 @@ def __init__(
97
self.proxy = proxy
98
self.ignore_certificates = ignore_certificates
99
self.init_args_for_pool_manager = init_args_for_pool_manager or {}
100
- self.timeout = timeout
+ self.timeout = socket.getdefaulttimeout() if timeout is None else timeout
101
self.username = username
102
self.password = password
103
self.auth_type = auth_type
104
self.token = token
105
self.user_agent = user_agent
106
self.extra_headers = extra_headers
107
108
- self.timeout = socket.getdefaulttimeout() if timeout is None else timeout
109
-
110
self.ca_certs = (
111
(os.getenv("REQUESTS_CA_BUNDLE") if "REQUESTS_CA_BUNDLE" in os.environ else certifi.where())
112
if ca_certs is None
0 commit comments