Skip to content
PHP bindings for WebDriver (Selenium 2 API).
PHP
Pull request Compare This branch is 99 commits behind chibimagic:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
WebDriver
README.md
SampleTest.php
WebDriver.php
WebDriverSelectorTest.php
WebDriverXPathTest.php

README.md

Overview

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:

Usage

See the included SampleTest.php. Start up the Selenium 2 standalone server (http://code.google.com/p/selenium/downloads/list) and run the test with:

phpunit SampleTest.php

Make sure phpunit is in your path!

Tests

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

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