码迷,mamicode.com
首页 > Web开发 > 详细

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

时间:2016-10-10 20:59:36      阅读:347      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!