public void to(String url) { get(url); }
public void to(URL url) { get(String.valueOf(url)); }
System.setProperty("webdriver.ie.driver.extractpath", "F:\\Study\\"); System.setProperty("webdriver.ie.driver", "F:\\Study\\IEDriverServer.exe"); System.setProperty("webdriver.ie.logfile", "F:\\Study\\IEDriverServer.log"); InternetExplorerDriver d = new InternetExplorerDriver(); d.get("http://www.google.com"); d.quit();
driver.get("http://www.google.com"); Thread.sleep(10 * 1000); driver.quit();