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
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.