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
=================================

054PHP

Since Jun 25Pushed 10y 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 1mo ago

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

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

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

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M570](/packages/beberlei-assert)[mikey179/vfsstream

Virtual file system to mock the real file system in unit tests.

1.4k108.0M2.7k](/packages/mikey179-vfsstream)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)[phpspec/phpspec

Specification-oriented BDD framework for PHP 7.1+

1.9k36.7M3.1k](/packages/phpspec-phpspec)

PHPackages © 2026

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