PHPackages                             ashar443/fbdriver - 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. ashar443/fbdriver

ActiveLibrary

ashar443/fbdriver
=================

A PHP client for WebDriver

v1.1(9y ago)09Apache-2.0PHPPHP &gt;=5.3.19

Since Oct 15Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Ashar443/fbdriver)[ Packagist](https://packagist.org/packages/ashar443/fbdriver)[ Docs](https://github.com/facebook/php-webdriver)[ RSS](/packages/ashar443-fbdriver/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

php-webdriver – WebDriver bindings for PHP\[modified to use with our own domain.\]
==================================================================================

[](#php-webdriver--webdriver-bindings-for-phpmodified-to-use-with-our-own-domain)

Description
-----------

[](#description)

Php-webdriver library is PHP language binding for Selenium WebDriver, which allows you to control web browsers from PHP.

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.

This is new version of PHP client, rewritten from scratch starting 2013. Using the old version? Check out Adam Goucher's fork of it at

Looking for API documentation of php-webdriver? See

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

Installation
------------

[](#installation)

Installation is possible using [Composer](https://getcomposer.org/).

If you don't already use Composer, you can download the `composer.phar` binary:

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

```

Then install the library:

```
php composer.phar require facebook/webdriver

```

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

```

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->setCapability('acceptSslCerts', false);
$driver = RemoteWebDriver::create($host, $desired_capabilities);
```

- See  for more details.

Changelog
---------

[](#changelog)

For latest changes see [CHANGELOG.md](CHANGELOG.md) file.

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)

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)

Ashar Javed Virk Asist: Mubin

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~0 days

Total

2

Last Release

3499d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b2d4c0b566671d298a56b72ea5da3e084e1f41ce6160c00b0108529ae99e784d?d=identicon)[Ashar](/maintainers/Ashar)

---

Top Contributors

[![Ashar443](https://avatars.githubusercontent.com/u/20600056?v=4)](https://github.com/Ashar443 "Ashar443 (3 commits)")

---

Tags

phpfacebookseleniumwebdriver

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/ashar443-fbdriver/health.svg)

```
[![Health](https://phpackages.com/badges/ashar443-fbdriver/health.svg)](https://phpackages.com/packages/ashar443-fbdriver)
```

###  Alternatives

[php-webdriver/webdriver

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

5.2k90.0M127](/packages/php-webdriver-webdriver)[element-34/php-webdriver

Thin php client for webdriver

121233.8k1](/packages/element-34-php-webdriver)[edbizarro/laravel-facebook-ads

Facebook &amp; Instagram Ads for Laravel 5.6+

13629.5k](/packages/edbizarro-laravel-facebook-ads)[magium/magium

A browser/functional testing suite using Web Driver. Contains low-ish level functionality to quickly build browser/functional tests.

296.7k10](/packages/magium-magium)[manychat/manychat-api

ManyChat API PHP library

1716.1k](/packages/manychat-manychat-api)[magium/magento

Magento-based functionality for the Magium test library

275.4k2](/packages/magium-magento)

PHPackages © 2026

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