PHPackages                             xi/test-selenium - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. xi/test-selenium

ActiveLibrary[Testing &amp; Quality](/categories/testing)

xi/test-selenium
================

Selenium 2 bindings

1.0.0(13y ago)4581[8 issues](https://github.com/xi-project/xi-test-selenium/issues)BSD-3-ClausePHPPHP &gt;=5.3.0

Since Apr 17Pushed 13y ago2 watchersCompare

[ Source](https://github.com/xi-project/xi-test-selenium)[ Packagist](https://packagist.org/packages/xi/test-selenium)[ Docs](http://github.com/xi-project/xi-test-selenium)[ RSS](/packages/xi-test-selenium/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (1)Versions (8)Used By (0)

xi-test-selenium
================

[](#xi-test-selenium)

This is a PHP 5.3 wrapper around [Selenium 2](http://code.google.com/p/selenium/) WebDriver Server via the [wire protocol](http://code.google.com/p/selenium/wiki/JsonWireProtocol).

It is useful, reasonably well-tested, cleanly built and extensible. Although it does not wrap everything [yet](https://github.com/xi-project/xi-test-selenium/issues?labels=missing-binding), it can be used right now and trivially subclassed to meet any additional requirements (although a fork and a pull request would also be appreciated).

The library is quite easy to use with any test framework, but there is an inherit-and-go base class for PHPUnit.

Mini-Tutorial
-------------

[](#mini-tutorial)

Download the latest [selenium-server-standalone jar](http://code.google.com/p/selenium/downloads/list) and leave it running with `java -jar path/to/the.jar`.

Usage:

```
