I am using Selenium to write test cases for my web application. When I run the test from Firefox it's working fine, but when I try to run it from IE I am not able to run and I get the error message:
This usually means that a call to the COM method IWebBrowser2::Navigate2() failed exception.
System.setProperty("webdriver.ie.driver", "browserdrivers/IEDriverServer.exe");
WebDriver web = new InternetExplorerDriver();
web.get("URL");
I am able to see IE screen but it's not navigating to that URL, and I am getting above exception. How can I resolve this ?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…