Selenium WebDriver問題--Internet Explorer 窗口的大小設置

在用WebDriver打開IE的時候,報下面的錯誤:java

org.openqa.selenium.remote.SessionNotFoundException: Unexpected error launching Internet Explorer. Browser zoom level was set to 104%. It should be set to 100% (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 27.93 seconds
Build info: version: '2.37.0', revision: 'a7c61cb', time: '2013-10-18 17:15:02'
System info: host: 'zxy-PC', ip: '192.168.1.103', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.6.0_41'
Driver info: driver.version: InternetExplorerDriver

解決辦法:將IE窗口大小比例設置爲100%就能夠了ide

相關文章
相關標籤/搜索