Showing posts with label Selenium-rc. Show all posts
Showing posts with label Selenium-rc. Show all posts

Thursday, February 9, 2012

Using Selenium 1.0 features in WebDriver

You can use your favorite features in Selenium RC in WEbDriver as well by using WebDriverBackedSelenium.


WebDriver driver= new FirefoxDriver();
Selenium selenium = new WebDriverBackedSelenium(driver, baseURL);
driver.get(baseURL); 
selenium.windowMaximize(); //selenium-rc method




 Happy coding guys