My code is
package mentor.qa.selenium;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
public class WDDemo1 {
public static void main( String[] args){
WebDriver driver = new FirefoxDriver();
driver.get("http://www.google.com");
}
}
I am using the latest java jar file 2.47.1 and Firefox 41.0.1. It starts Firefox but does not go to the link. How can I solve that?