Selenium通過WebDriver控制IE瀏覽器出錯 Browser zoom level was set to 109%. It should be set to 100%


錯誤信息:

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."

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM