首页 > 其他 > 详细

selenium IE自动化问题汇总

时间:2017-01-12 18:33:34      阅读:287      评论:0      收藏:0      [点我收藏+]
  1. 驱动下载:http://selenium-release.storage.googleapis.com/index.html
  2. 没有修改IE的保护模式设置导致,通常看到报错信息如下:
    selenium.common.exceptions.WebDriverException: Message: ‘Unexpected error launching Internet Explorer.
    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.‘
    解决办法:

    • “工具-Internet选项-安全” 中,4个区域的启用保护模式的勾选都去掉(或都勾上)
    • 其他可能的问题有IE的代理服务器设置被打勾了需要去掉勾选,进程里有IEDRIVERSERVER.EXE的进程没有杀掉等等技术分享

       

selenium IE自动化问题汇总

原文:http://www.cnblogs.com/breakcircle/p/6279239.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!