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

猜你喜欢

转载自loveljy119.iteye.com/blog/1887601