使用iedriver,执行脚本,报错
(运行过程中如果出现错误:
WebDriverException: Message: u'Unexpected error launching Internet Explorer.
Protected Mode settings are not the same for all zones. Enable Protected Mo
de must be set to the same value (enabled or disabled) for all zones.'
更改IE的internet选项->安全,将Internet/本地Internet/受信任的站定/受限制的站点中的启用保护模式全部去 掉勾,或者全部勾上。)
本文介绍了解决IEDriver在执行脚本过程中遇到的错误问题,特别是当遇到因Internet Explorer的保护模式设置不一致导致的WebDriver异常时的解决方法。文章提供了调整IE浏览器安全设置的具体步骤。
4万+

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



