Exploring WebDriverBackedSelenium

This section is for those test script developers who have quite a few test scripts already written in Selenium 1, also known as Selenium RC, and are planning to move to WebDriver. Moving entirely to WebDriver is a good idea theoretically, but when it comes to migrating the test scripts, it is a task that is going to keep you busy for a while, depending on how abstract your current test scripts are. The WebDriver library has provided us a class named WebDriverBackedSelenium, using which you can start leveraging WebDriver APIs while making sure your old Selenium 1 test scripts work fine. Before we look at WebDriverBackedSelenium, let us see how the good old Selenium 1 test scripts look.

If you remember, in Chapter ...

Get Selenium WebDriver Practical Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.