I\'m translating some Selenium RC tests to Selenium WebDriver using the python api. In Selenium WebDriver, I\'m noticing that driver.get( \'http://...\' )
seems
Yes and no. As of Selenium 2.24.1, the support for this is only in Firefox - you have to run it in a special "mode":
FirefoxProfile fp = new FirefoxProfile();
fp.setPreference("webdriver.load.strategy", "unstable");
WebDriver driver = new FirefoxDriver(fp);
You can even set the timeout if you want to. This method fails in any browser other than Firefox and does nothing in Firefox without the unstable strategy:
driver.manage().timeouts().pageLoadTimeout(5, TimeUnit.SECONDS);