The server did not provide any stacktrace information

学习WebDriver时,第一个程序报错如下

java.lang.Exception: org.openqa.selenium.WebDriverException: Failed to navigate to  url This usually means that a call to the COM method IWebBrowser2::Navigate2() failed. (WARNING: The server did not provide any stacktrace information)

 

想起我的IE不是默认浏览器,试着改为默认浏览器后,程序运行OK

你可能感兴趣的:(server)