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.
1 parent a7e2a53 commit e36673cCopy full SHA for e36673c
py/test/selenium/webdriver/remote/remote_hub_connection.py
@@ -29,4 +29,5 @@ def test_command_executor_ssl_certificate_is_verified():
29
webdriver.Remote(command_executor="https://wrong.host.badssl.com/", options=options)
30
assert isinstance(excinfo.value.reason, urllib3.exceptions.SSLError)
31
assert site in str(excinfo.value)
32
- assert "Hostname mismatch, certificate is not valid" in str(excinfo.value)
+ +# Check for general SSL certificate validation failure
33
+ assert "certificate is not valid" in str(excinfo.value).lower()
0 commit comments