在使用 InternetExplorer 驱动程序通过 Selenium Webdriver 创建自动化测试 (C#) 时,我无法通过 Windows 身份验证。
(使用 Firefox 时可以访问 https//username:password@site.com 但不能使用 Internet Explorer 10 (windows 7) )
我尝试根据这篇文章更新 Windows 注册表,但它对 IE10 不起作用: http://aleetesting.blogspot.se/2011/10/selenium-webdriver-tips.html
任何友好的人都可以帮助我解决如何通过 Windows 身份验证使用 https//username:password@site.com 在 IE10 中?
或者有没有人有更好的方法来处理 Selenium webdriver 的 Windows 身份验证问题?
最好的问候 卡尔
最佳答案
在 Windows 7 中,您可以使用凭据管理器将您站点的凭据保存在保管库中。身份验证现在自动进行。
关于c# - 如何使用 Selenium Webdriver 和 Internet Explorer 10 处理 Windows 身份验证?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21020181/