首页 > 代码库 > Selenium通过WebDriver控制IE浏览器出错
Selenium通过WebDriver控制IE浏览器出错
错误信息:
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浏览器出错
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。