chibimagic / WebDriver-PHP

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

Class wrapper to support migrating PHPUnit Selenium RC tests #12

Open daluu opened 12 years ago

daluu commented 12 years ago

Since this driver binding already is PHPUnit friendly, perhaps would be nice to create a wrapper class to wrap PHPUnit's SeleniumTestCase (Selenium RC) API calls to equivalent Web Driver calls, as well as wrap the setup of SeleniumTestCase setBrowserUrl() and setUp() methods.

This way users can more easily migrate existing PHPUnit Selenium (RC) tests to Selenium 2 / Web Driver using your driver binding.

But good work thus far. And nice that you've included SauceLabs support already.

daluu commented 12 years ago

This project already has a partial class wrapper for PHPUnit Selenium RC: http://code.google.com/p/php-webdriver-bindings/

But its nice to have choice, in case one feels your library is better, so still suggest this project have a wrapper as well.

milindxento commented 11 years ago

How to write test case for ajax application using Selenium 2