错误一:
selenium.common.exceptions.WebDriverException: Message: Unexpected error launching Internet Explorer. Protected Mode settings are not the same for all zones. Enable Protected Mode must be set to the same value (enabled or disabled) for all zones.
意想不到的错误。保护模式设置为所有区域是不一样的。启用保护模式必须设置为相同的值为所有区域(启用或禁用)。
解决方法:
启用保护模式必须都一致
本文介绍了在使用selenium进行自动化测试过程中遇到的一个常见问题:启动Internet Explorer时出现WebDriverException异常,提示保护模式设置不一致导致的问题。文章提供了具体的解决方法,即确保所有区域的保护模式设置一致。
10万+

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



