Webdriver - IE security certificate when access https
作者: Max.Bai
时间: 2014/08
How to handle the security certificate when IE access https page?
1. use js to click
- IWebDriver driver = new InternetExploreDriver();
- driver.Url("Site");
- driver.Navigate().GoToUrl("javascript:document.getElementById('overridelink').click()");
IWebDriver driver = new InternetExploreDriver();
driver.Url("Site");
driver.Navigate().GoToUrl("javascript:document.getElementById('overridelink').click()");
2. Update reg make the certificate not popup
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_ERROR_PAGE_BYPASS_ZONE_CHECK_FOR_HTTPS_KB954312
本文介绍了两种处理Internet Explorer浏览器访问HTTPS页面时出现的安全证书警告的方法:一是使用JavaScript点击覆盖链接;二是更新注册表设置以避免弹出证书警告。

被折叠的 条评论
为什么被折叠?



