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

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.