PHPackages                             serbanghita/selenium-setup-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. serbanghita/selenium-setup-webdriver

ActiveLibrary

serbanghita/selenium-setup-webdriver
====================================

4283PHP

Since Jun 5Pushed 9y ago1 watchersCompare

[ Source](https://github.com/serbanghita/Selenium-Setup-Webdriver)[ Packagist](https://packagist.org/packages/serbanghita/selenium-setup-webdriver)[ RSS](/packages/serbanghita-selenium-setup-webdriver/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

**Selenium-Setup-Webdriver** is used to test the `Selenium-Setup` service implementation. It can also be used in testing environments, since it provides a `WebDriver` and `WebDriverConfig` factories. It also comes with a `BrowserTestCase` that you can use by extending your test cases.

Install
=======

[](#install)

#### Install [`Selenium-Setup`](https://github.com/bogdananton/Selenium-Setup)

[](#install-selenium-setup)

1. `git clone https://github.com/bogdananton/Selenium-Setup.git`
2. `cd Selenium-Setup`
3. `composer install`
4. `php selenium-setup start` - will start the default Selenium server
    1. Alternatively use `php selenium-setup register yourServer` and change `yourServer.json` to your needs.

#### Install `Selenium-Setup-Webdriver`

[](#install-selenium-setup-webdriver)

1. `git clone https://github.com/serbanghita/Selenium-Setup-Webdriver.git`
2. `cd Selenium-Setup-Webdriver`
3. `composer install`
4. `phpunit -c phpunit.xml` - will perform the checks from [tests](tests)
    1. Tinker with `phpunit.xml` if you want fast changes in your setup (proxy, selenium server, specific browser). Eg. connecting to a different Selenium host and port.
    2. For extending your tests you need to override `setUp` method from `BrowserTestCase` and use your custom webdriver settings or the predefined from `SeleniumSetupWebDriver\WebDriver\WebDriverFactory`.

Usage
=====

[](#usage)

Now that you have validated your environment setup, you have two options:

1. Use `Selenium-Setup-Webdriver` as a dependency in your test project. When writing tests, extend `SeleniumSetupWebDriver\TestCase\BrowserTestCase`.
2. Use your own web driver setup and connect to the server(s) raised by `Selenium-Setup`.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% 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.

### Community

Maintainers

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

---

Top Contributors

[![serbanghita](https://avatars.githubusercontent.com/u/1106849?v=4)](https://github.com/serbanghita "serbanghita (9 commits)")[![bogdananton](https://avatars.githubusercontent.com/u/1594303?v=4)](https://github.com/bogdananton "bogdananton (1 commits)")

### Embed Badge

![Health badge](/badges/serbanghita-selenium-setup-webdriver/health.svg)

```
[![Health](https://phpackages.com/badges/serbanghita-selenium-setup-webdriver/health.svg)](https://phpackages.com/packages/serbanghita-selenium-setup-webdriver)
```

PHPackages © 2026

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