PHPackages                             appdevl/phpunit-selenium2-adapter - 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. appdevl/phpunit-selenium2-adapter

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

appdevl/phpunit-selenium2-adapter
=================================

055PHP

Since Jun 25Pushed 11y ago1 watchersCompare

[ Source](https://github.com/thomasalbright/phpunit-selenium2-adapter)[ Packagist](https://packagist.org/packages/appdevl/phpunit-selenium2-adapter)[ RSS](/packages/appdevl-phpunit-selenium2-adapter/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

PHPUnit Selenium2WithAdapterTestCase Class
==========================================

[](#phpunit-selenium2withadaptertestcase-class)

### Description

[](#description)

Implements adapter for migration from PHPUnit\_Extensions\_SeleniumTestCase to PHPUnit\_Extensions\_Selenium2TestCase.

If user's TestCase class is implemented with old format (with commands like open, type, waitForPageToLoad), it should extend Selenium2WithAdapterTestCase for Selenium 2 WebDriver support.

### Restrictions

[](#restrictions)

It does not work properly with javascript actions. You have to rewrite you test code with [WaitUntil](https://github.com/sebastianbergmann/phpunit-selenium/blob/master/Tests/Selenium2TestCase/WaitUntilTest.php#L55)if you use click with ajax actions or click with visibility changes. It makes this Selenium2WithAdapterTestCase useless.

Implemented methods
-------------------

[](#implemented-methods)

Class provides bindings for methods:

- open
- type
- click
- select
- isTextPresent
- isElementPresent
- getText

### License

[](#license)

```
Copyright 2013 Roman Nix
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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/faefe61f6db633d5a227c6bdc02dba1ae963e210f5e16aa87aa9a3dd11b0e368?d=identicon)[thomasalbright](/maintainers/thomasalbright)

---

Top Contributors

[![rnixik](https://avatars.githubusercontent.com/u/1498878?v=4)](https://github.com/rnixik "rnixik (4 commits)")[![jalbright](https://avatars.githubusercontent.com/u/932767?v=4)](https://github.com/jalbright "jalbright (3 commits)")[![thomasalbright](https://avatars.githubusercontent.com/u/867337?v=4)](https://github.com/thomasalbright "thomasalbright (1 commits)")

### Embed Badge

![Health badge](/badges/appdevl-phpunit-selenium2-adapter/health.svg)

```
[![Health](https://phpackages.com/badges/appdevl-phpunit-selenium2-adapter/health.svg)](https://phpackages.com/packages/appdevl-phpunit-selenium2-adapter)
```

###  Alternatives

[dms/phpunit-arraysubset-asserts

This package provides ArraySubset and related asserts once deprecated in PHPUnit 8

14429.2M361](/packages/dms-phpunit-arraysubset-asserts)

PHPackages © 2026

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