chibimagic / WebDriver-PHP

PHP bindings for WebDriver (Selenium 2 API).
183 stars 57 forks source link

Backwards compatibility support for PHPUnit SeleniumTestCase / WebDriverBackedSelenium? #13

Open daluu opened 12 years ago

daluu commented 12 years ago

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

pko734 commented 8 years ago

Here we are 5 years later, did anything like this ever materialize?