首页 > Web开发 > 详细

Selenium通过WebDriver控制IE浏览器出错

时间:2016-10-10 20:59:10      阅读:546      评论:0      收藏:0      [点我收藏+]

错误信息:

WebDriverException: Message: Unexpected error launching Internet Explorer. Browser zoom level was set to 109%. It should be set to 100%

? ?

浏览器安全设置应该是100%

? ?

解决方法:

"Open Regedit and navigate to HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Zoom. In the right-hand pane is a listing for ZoomFactor. Double-click on it and click the button next to Decimal. Change the value from 110000 to 100000, click OK, and exit Regedit. Now every time you open IE, it should be zoomed into 150%. This will also zoom any new tabs that are opened."

? ?

来自 <http://www.51testing.com/html/25/349125-832691.html>

?

技术分享

Selenium通过WebDriver控制IE浏览器出错

原文:http://www.cnblogs.com/samren/p/5946843.html

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