PHPackages                             rattananen/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. rattananen/webdriver

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

rattananen/webdriver
====================

PHP library that implement W3C WebDriver protocol.

v1.2.0(3y ago)010[2 issues](https://github.com/rattananen/webdriver/issues)MITPHPPHP &gt;=8.1

Since Apr 8Pushed 3y ago1 watchersCompare

[ Source](https://github.com/rattananen/webdriver)[ Packagist](https://packagist.org/packages/rattananen/webdriver)[ RSS](/packages/rattananen-webdriver/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (3)Used By (0)

Rattananen WebDriver
====================

[](#rattananen-webdriver)

This library is implementation for [W3C WebDriver](https://www.w3.org/TR/webdriver/) protocol. Currently, support only ChromeDriver but there is plan to support other in future.

Features
--------

[](#features)

- Use modern/forgotten programming techniques to make easier for development application by this library.
- IDE friendly.
- Implement all [W3C WebDriver Endpoints](https://www.w3.org/TR/webdriver/#endpoints) mean you can control browser with fully protocol's capacity.

Requirement
-----------

[](#requirement)

- PHP 8.1+
- Google Chrome 106+
- [ChromeDriver](https://chromedriver.chromium.org/downloads) version that compactible with Google Chrome

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

[](#installation)

Best way is install via composer

```
composer require rattananen/webdriver
```

⚠️ This package has optional dependencies. They will missing when you install composer with `--no-dev` parameter. You can use `composer require package/missing` to install them if need.

Examples
--------

[](#examples)

See [examples.md](examples.md).

Know issues
-----------

[](#know-issues)

- Firefox find element for shadow root doesn't implement yet (geckodriver 0.32.2)
- Firefox doesn't implement accessibility endpoints (computed role, computed label) for element yet (geckodriver 0.32.2)
- Firefox create new session is slow (geckodriver 0.32.2)
- GoogleChrome return alert message `{Alert text : ` in unhandle alert reponse when alert without message argument (ChromeDriver 106.0.5249.61)
- GoogleChrome duration in scroll action does wrong behevior. It's waiting time for return response instead of time for scrolling. (ChromeDriver 106.0.5249.61)

Contributing
------------

[](#contributing)

See [CONTRIBUTING.md](.github/CONTRIBUTING.md).

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Unknown

Total

1

Last Release

1136d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0a3158e2c9fc6eb160ee24ed99aaefa97aadd9e46660747c4c0ac0bf003cf761?d=identicon)[rattananen](/maintainers/rattananen)

---

Top Contributors

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

---

Tags

firefoxgoogle-chromephpw3cwebdriverphpwebdriverChromedriverW3C

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rattananen-webdriver/health.svg)

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

###  Alternatives

[openswoole/core

Openswoole core library

181.1M32](/packages/openswoole-core)[genkgo/archive-stream

Stream a ZIP file (memory efficient) as a PSR-7 message

3063.0k](/packages/genkgo-archive-stream)[huaweicloud/huaweicloud-sdk-php

Huawei Cloud SDK for PHP

1829.2k2](/packages/huaweicloud-huaweicloud-sdk-php)

PHPackages © 2026

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