PHPackages                             pagantis/selenium-form-utils - 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. pagantis/selenium-form-utils

ActiveLibrary

pagantis/selenium-form-utils
============================

Pagantis PHP Library. Selenium helper to end a test purchase. Helper to test the payment validation and redirection

v3.0.3(6y ago)09.6k[1 PRs](https://github.com/pagantis/selenium-form-utils/pulls)7proprietaryPHPPHP &gt;=7.1CI failing

Since Jul 31Pushed 5y ago2 watchersCompare

[ Source](https://github.com/pagantis/selenium-form-utils)[ Packagist](https://packagist.org/packages/pagantis/selenium-form-utils)[ RSS](/packages/pagantis-selenium-form-utils/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (5)Versions (13)Used By (7)

Selenium Form Utils [![](https://camo.githubusercontent.com/034cb504b587da689b4ac60e7dd147e8e6d548fa3dae0d4dfde649bdd7d1a792/68747470733a2f2f7777772e706167616e7469732e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031392f30322f63726f707065642d706167616e7469735f6c6f676f2d312e706e67)](https://camo.githubusercontent.com/034cb504b587da689b4ac60e7dd147e8e6d548fa3dae0d4dfde649bdd7d1a792/68747470733a2f2f7777772e706167616e7469732e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031392f30322f63726f707065642d706167616e7469735f6c6f676f2d312e706e67)
=================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#selenium-form-utils-)

CircleCI: [![CircleCI](https://camo.githubusercontent.com/2a4054c454438b1aabeb5a2cbc9a0e8f2a5c5c092a81bd2d234f2aaf89265f75/68747470733a2f2f636972636c6563692e636f6d2f67682f706167616e7469732f73656c656e69756d2d666f726d2d7574696c732f747265652f6d61737465722e7376673f7374796c653d737667)](https://circleci.com/gh/pagantis/selenium-form-utils/tree/master)

[![Latest Stable Version](https://camo.githubusercontent.com/5cead91d69b688e2fdac42d75035adc86a2583f959e3303c2e0d050a059dab7d/68747470733a2f2f706f7365722e707567782e6f72672f706167616e7469732f73656c656e69756d2d666f726d2d7574696c732f762f737461626c65)](https://packagist.org/packages/pagantis/selenium-form-utils)[![composer.lock](https://camo.githubusercontent.com/2717a3b0be71403b66051acd4d8cc8d0c837319a92751ebb7134c7c1b65c4747/68747470733a2f2f706f7365722e707567782e6f72672f706167616e7469732f73656c656e69756d2d666f726d2d7574696c732f636f6d706f7365726c6f636b)](https://packagist.org/packages/pagantis/selenium-form-utils)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/15a6d5383276cee34a92d395ea014babaefd0f76a932351bd1edf75c8675ec73/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f706167616e7469732f73656c656e69756d2d666f726d2d7574696c732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/pagantis/selenium-form-utils/?branch=master)

Selenium Form Utils will help you when developing integration test of Pagantis. The utils will go pass Pagantis form to ensure you can test the Notification and the Redirection. Be sure that KO and OK controllers work. You can automate your testing using travis-ci or circle-ci.

How to use
----------

[](#how-to-use)

Install the library by:

- Downloading it from [here](https://github.com/pagantis/selenium-form-utils/releases/latest)
- Using Composer:

```
composer require pagantis/selenium-form-utils
```

Finally, be sure to include the autoloader:

```
require_once '/path/to/your-project/vendor/autoload.php';
```

Once the library is ready and inside the project the stub objects will available and the ordersApiClient will also available.

```
// Once the webDriver of selenium is inside Pagantis form, basically:
// $webdriver->getCurrentUrl == 'form.pagantis.com/....'
// Then you can use this tool to finish the form:

SeleniumHelper::finishForm($this->webDriver);

//The method will end once the form is approved, so the current URL will be OK_URL of the order
//Optionally you can also send the mobilePhone if the user is returning

SeleniumHelper::finishForm($this->webDriver, '600123123');
```

You can also check the cancel action automated

```
SeleniumHelper::cancelForm($this->webDriver);
```

To Develop and improve the library:
-----------------------------------

[](#to-develop-and-improve-the-library)

after doing the modifications please run the precised testing

```
docker-compose up -d

docker-compose exec php php-7.1 vendor/bin/phpunit
```

Help us to improve
------------------

[](#help-us-to-improve)

We are happy to accept suggestions or pull requests. If you are willing to help us develop better software please create a pull request here following the PSR-2 code style and we will use reviewable to check the code and if al test pass and no issues are detected by SensioLab Insights you could will be ready to merge.

- [Issue Tracker](https://github.com/pagantis/selenium-form-utils/issues)

###  Health Score

33

—

LowBetter than 74% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 74.8% 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 ~59 days

Recently: every ~91 days

Total

11

Last Release

2244d ago

Major Versions

v1.0.3 → v2.0.02019-03-13

v2.0.2 → v3.0.02019-10-16

PHP version history (3 changes)v1.0.0PHP &gt;=5.3

v2.0.0PHP &gt;=7.0

v2.0.1PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/8c7c8679369f56fd689eb622494bb223ddca47be08cba78fe4036092fe0a3539?d=identicon)[romeritoCL](/maintainers/romeritoCL)

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

![](https://www.gravatar.com/avatar/346c5ce0fb30bcdae8264023197679cc894a88d9aebbdb5fc249bf33b186d0d5?d=identicon)[pgarcess](/maintainers/pgarcess)

---

Top Contributors

[![romeritoCL](https://avatars.githubusercontent.com/u/301758?v=4)](https://github.com/romeritoCL "romeritoCL (89 commits)")[![rmarinleal](https://avatars.githubusercontent.com/u/1807196?v=4)](https://github.com/rmarinleal "rmarinleal (25 commits)")[![PGarSol](https://avatars.githubusercontent.com/u/152878420?v=4)](https://github.com/PGarSol "PGarSol (4 commits)")[![pgarcess](https://avatars.githubusercontent.com/u/37547687?v=4)](https://github.com/pgarcess "pgarcess (1 commits)")

---

Tags

composerlibrarypagantisseleniumtestvendor

### Embed Badge

![Health badge](/badges/pagantis-selenium-form-utils/health.svg)

```
[![Health](https://phpackages.com/badges/pagantis-selenium-form-utils/health.svg)](https://phpackages.com/packages/pagantis-selenium-form-utils)
```

###  Alternatives

[ergebnis/phpunit-slow-test-detector

Provides facilities for detecting slow tests in phpunit/phpunit.

1468.1M72](/packages/ergebnis-phpunit-slow-test-detector)[webmozarts/strict-phpunit

Enables type-safe comparisons of objects in PHPUnit

31252.7k5](/packages/webmozarts-strict-phpunit)

PHPackages © 2026

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