Thursday, March 1, 2012

Selenium 2.19 - Migration of Selenium RC code to Webdriver

Selenium 2.19 - Migration of Selenium RC code to Webdriver.

This release has special feature where we can run the Selenium RC scripts in Webdriver without any changes.

Following code will help you to run the RC code

driver = RemoteWebDriver(desired_capabilities = DesiredCapabilities.FIREFOX)
selenium = DefaultSelenium('localhost', 4444', '*webdriver', 'http://www.google.com') 
selenium.start(driver = drive);

For more details select this link.

---- 

No comments:

Post a Comment