Last updated: May 13, 2020 20:07
Sometimes the site with not valid certificate should be accessed by Windows/Internet Explorer web browser.
The code below can be used in order to override the security warning and continue the test.
The client can use the following workaround and force the browser to access the site.
driver.get("bad ssl website");
Note: if no bad SSL error will occur the command will fail with error so it's recommended to wrap this code with try and catch block.