Is Selenium 2.42.2 webdriver compatible with Firefox 27.0.1? If not, then which Firefox version is it compatible with? I am using Selenium 2.42.2 webdriver. The test code that I wrote is:
public class SeleniumIntro {
/**
* @param args
*/
public static void main(String[] args) {
WebDriver driver = new FirefoxDriver();
driver.get("http://www.google.com");
System.out.println(driver.getCurrentUrl() + " "
+ driver.getPageSource());
driver.close();
}
}
When I run this, Firefox starts and then nothing happens. I have a hunch that its a compatibility issue. BTW, I have tried the latest version of Firefox also but with the same result. I can use some help or guidance here. Thanks.