chibimagic/WebDriver-PHP — Issue #13: Backwards compatibility support for PHPUnit SeleniumTestCase / WebDriverBackedSelenium?
Author: daluu
Created: 2011-12-15 02:29:57+00:00
State: open

Has there been any thought of creating a class extending PHPUnit_Framework_TestCase that provides the same Selenium RC API as PHPUnit's SeleniumTestCase extension. Not all the APIs have to be implemented, for which we can return some unimplemented API exception.

Such would help users of existing PHPUnit Selenium tests migrate to Web Driver without having to rewrite a lot of code (or in ideal case, any code at all).

I started work on that using codebase from http://code.google.com/p/php-webdriver-bindings, but it could probably be abstracted and ported to support this binding as well.

References:
http://code.google.com/p/php-webdriver-bindings/issues/detail?id=11
http://code.google.com/p/php-webdriver-bindings/issues/detail?id=13