PHPackages                             jumper423/yii2-php-webdriver - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. jumper423/yii2-php-webdriver

ActiveLibrary[HTTP &amp; Networking](/categories/http)

jumper423/yii2-php-webdriver
============================

A PHP client for WebDriver

1.0.8.5(10y ago)173Apache-2.0PHPPHP &gt;=5.3.19

Since Sep 10Pushed 10y ago2 watchersCompare

[ Source](https://github.com/jumper423/yii2-php-webdriver)[ Packagist](https://packagist.org/packages/jumper423/yii2-php-webdriver)[ Docs](https://github.com/facebook/php-webdriver)[ RSS](/packages/jumper423-yii2-php-webdriver/feed)WikiDiscussions community Synced 4w ago

READMEChangelog (10)Dependencies (2)Versions (24)Used By (0)

php-webdriver -- WebDriver bindings for PHP
===========================================

[](#php-webdriver----webdriver-bindings-for-php)

DESCRIPTION
-----------

[](#description)

This WebDriver client aims to be as close as possible to bindings in other languages. The concepts are very similar to the Java, .NET, Python and Ruby bindings for WebDriver.

Looking for documentation about php-webdriver? See

The PHP client was rewritten from scratch. Using the old version? Check out Adam Goucher's fork of it at

Any complaint, question, idea? You can post it on the user group .

GETTING THE CODE
----------------

[](#getting-the-code)

There are two ways of getting the code:

### Via Github

[](#via-github)

```
git clone git@github.com:facebook/php-webdriver.git

```

### Via Packagist

[](#via-packagist)

Add the dependency to composer.json (see )

```
{
  "require": {
    "facebook/webdriver": "~1.0"
  }
}
```

INSTALLATION
------------

[](#installation)

Download the composer.phar

```
curl -sS https://getcomposer.org/installer | php

```

Install the library.

```
php composer.phar install

```

GETTING STARTED
---------------

[](#getting-started)

- All you need as the server for this client is the selenium-server-standalone-#.jar file provided here:
- Download and run that file, replacing # with the current server version.

    ```
    java -jar selenium-server-standalone-#.jar
    java -jar selenium-server-standalone-2.48.2.jar

    ```
- Then when you create a session, be sure to pass the url to where your server is running.

    ```
    // This would be the url of the host running the server-standalone.jar
    $host = 'http://localhost:4444/wd/hub'; // this is the default
    ```
- Launch Firefox

    ```
    $driver = RemoteWebDriver::create($host, DesiredCapabilities::firefox());
    ```
- Launch Chrome

    ```
    $driver = RemoteWebDriver::create($host, DesiredCapabilities::chrome());
    ```
- You can also customize the desired capabilities.

    ```
    $desired_capabilities = DesiredCapabilities::firefox();
    $desired_capabilities->setJavascriptEnabled(false);
    RemoteWebDriver::create($host, $desired_capabilities);
    ```
- See  for more details.

RUN UNIT TESTS
--------------

[](#run-unit-tests)

To run unit tests simply run:

```
./vendor/bin/phpunit -c ./tests

```

Note: For the functional test suite, a running selenium server is required.

MORE INFORMATION
----------------

[](#more-information)

Check out the Selenium docs and wiki at  and

Learn how to integrate it with PHPUnit [Blogpost](http://codeception.com/11-12-2013/working-with-phpunit-and-selenium-webdriver.html) | [Demo Project](https://github.com/DavertMik/php-webdriver-demo)

SUPPORT
-------

[](#support)

We have a great community willing to try and help you!

Currently we offer support in two manners:

### Via our Facebook Group

[](#via-our-facebook-group)

If you have questions or are an active contributor consider joining our facebook group and contributing to the communal discussion and support

### Via Github

[](#via-github-1)

If you're reading this you've already found our Github repository. If you have a question, feel free to submit it as an issue and our staff will do their best to help you as soon as possible.

CONTRIBUTING
------------

[](#contributing)

We love to have your help to make php-webdriver better. Feel free to

- open an [issue](https://github.com/facebook/php-webdriver/issues) if you run into any problem.
- fork the project and submit [pull request](https://github.com/facebook/php-webdriver/pulls). Before the pull requests can be accepted, a [Contributors Licensing Agreement](http://developers.facebook.com/opensource/cla) must be signed.

When you are going to contribute, please keep in mind that this webdriver client aims to be as close as possible to other languages Java/Ruby/Python/C#. FYI, here is the overview of [the official Java API](http://selenium.googlecode.com/svn/trunk/docs/api/java/index.html?overview-summary.html)

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~44 days

Recently: every ~27 days

Total

22

Last Release

3733d ago

Major Versions

v0.6.0 → 1.0.02015-06-09

PHP version history (4 changes)v0.1PHP &gt;=5.3.0

v0.2PHP &gt;=5.4.0

v0.2.1PHP &gt;=5.4.20

v0.3PHP &gt;=5.3.19

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12099016?v=4)[Vlad Pasechnik](/maintainers/jumper423)[@jumper423](https://github.com/jumper423)

---

Top Contributors

[![whhone](https://avatars.githubusercontent.com/u/1200104?v=4)](https://github.com/whhone "whhone (97 commits)")[![cbergau](https://avatars.githubusercontent.com/u/2446617?v=4)](https://github.com/cbergau "cbergau (21 commits)")[![gfosco](https://avatars.githubusercontent.com/u/406732?v=4)](https://github.com/gfosco "gfosco (20 commits)")[![jumper423](https://avatars.githubusercontent.com/u/12099016?v=4)](https://github.com/jumper423 "jumper423 (15 commits)")[![v-slenter](https://avatars.githubusercontent.com/u/36268710?v=4)](https://github.com/v-slenter "v-slenter (15 commits)")[![OndraM](https://avatars.githubusercontent.com/u/793041?v=4)](https://github.com/OndraM "OndraM (10 commits)")[![ashleydw](https://avatars.githubusercontent.com/u/844437?v=4)](https://github.com/ashleydw "ashleydw (9 commits)")[![localheinz](https://avatars.githubusercontent.com/u/605483?v=4)](https://github.com/localheinz "localheinz (4 commits)")[![okrad](https://avatars.githubusercontent.com/u/939812?v=4)](https://github.com/okrad "okrad (4 commits)")[![gkralik](https://avatars.githubusercontent.com/u/4949303?v=4)](https://github.com/gkralik "gkralik (4 commits)")[![phelipealves](https://avatars.githubusercontent.com/u/2778150?v=4)](https://github.com/phelipealves "phelipealves (3 commits)")[![jsifalda](https://avatars.githubusercontent.com/u/1549390?v=4)](https://github.com/jsifalda "jsifalda (2 commits)")[![danielbeardsley](https://avatars.githubusercontent.com/u/26855?v=4)](https://github.com/danielbeardsley "danielbeardsley (2 commits)")[![DavertMik](https://avatars.githubusercontent.com/u/220264?v=4)](https://github.com/DavertMik "DavertMik (2 commits)")[![davidsickmiller](https://avatars.githubusercontent.com/u/172005?v=4)](https://github.com/davidsickmiller "davidsickmiller (2 commits)")[![dsereni](https://avatars.githubusercontent.com/u/1372821?v=4)](https://github.com/dsereni "dsereni (2 commits)")[![jonstjohn](https://avatars.githubusercontent.com/u/95620?v=4)](https://github.com/jonstjohn "jonstjohn (2 commits)")[![akshayminocha5](https://avatars.githubusercontent.com/u/1572208?v=4)](https://github.com/akshayminocha5 "akshayminocha5 (2 commits)")[![Mordred](https://avatars.githubusercontent.com/u/29232?v=4)](https://github.com/Mordred "Mordred (2 commits)")[![jubishop](https://avatars.githubusercontent.com/u/13165?v=4)](https://github.com/jubishop "jubishop (1 commits)")

---

Tags

phpfacebookseleniumwebdriver

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jumper423-yii2-php-webdriver/health.svg)

```
[![Health](https://phpackages.com/badges/jumper423-yii2-php-webdriver/health.svg)](https://phpackages.com/packages/jumper423-yii2-php-webdriver)
```

###  Alternatives

[php-webdriver/webdriver

A PHP client for Selenium WebDriver. Previously facebook/webdriver.

5.2k94.9M146](/packages/php-webdriver-webdriver)[element-34/php-webdriver

Thin php client for webdriver

121240.7k1](/packages/element-34-php-webdriver)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
