Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
PHP bindings for WebDriver (Selenium 2 API).
branch: master

Wait for page to load

latest commit 9e16eccf74
Eileen Xie authored


These are the PHP bindings for the WebDriver API in Selenium 2. It's designed to work with PHPUnit and includes some built-ins for running tests at Sauce Labs.

For more information, see:


See the included SampleTest.php. Start up the Selenium 2 standalone server ( and run the test with:

phpunit SampleTest.php

Make sure phpunit is in your path!


What's code without tests? Run the tests with:

phpunit WebDriverSelectorTest.php
phpunit WebDriverXPathTest.php
phpunit WebDriverColorTest.php
Something went wrong with that request. Please try again.