We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_identifyy_http_proxy_auth
1 parent ecc58fd commit 5a206fbCopy full SHA for 5a206fb
1 file changed
py/selenium/webdriver/remote/remote_connection.py
@@ -131,7 +131,7 @@ def _get_proxy_url(self):
131
def _identify_http_proxy_auth(self):
132
url = self._proxy_url
133
url = url[url.find(":") + 3:]
134
- return True if "@" in url and len(url[:url.find('@')]) > 0 else False
+ return "@" in url and len(url[:url.find('@')]) > 0
135
136
def _seperate_http_proxy_auth(self):
137
0 commit comments