问题
Is there a simple way i can convert my existing selenium RC scripts into the Webdriver format?
回答1:
There's no way now to "convert" tests, but they can be tweaked to work with WebDriver using its Selenium Emulation.
You should keep in mind that not all Selenium methods are implemented in WebDriverBackedSelenium. However in future releases of WebDriver the support should expand and at some point (probably when Selenium 2 will reach the Beta status) the Selenium and WebDriver will be merged so the transition will be easier
来源:https://stackoverflow.com/questions/4342088/selenium-web-driver-and-selenium-rc