py-selenium-layers is an abstraction layer for Python Selenium. It provides a common API for Selenium RC and WebDriver, and allows you to run the same tests using either based on a command-line switch. It was created because some Web sites work better with one version of Selenium than another, and an easy way to switch between them was desired.