PHPackages                             fabiang/mink-javascript-errors - 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. fabiang/mink-javascript-errors

AbandonedArchivedBehat-extension[Testing &amp; Quality](/categories/testing)

fabiang/mink-javascript-errors
==============================

Mink extension for handling JavaScript errors

0.1.0(10y ago)060.2k↓11.1%BSD-2-ClausePHPPHP &gt;=5.6

Since Nov 24Pushed 10y ago1 watchersCompare

[ Source](https://github.com/fabiang/mink-javascript-errors)[ Packagist](https://packagist.org/packages/fabiang/mink-javascript-errors)[ RSS](/packages/fabiang-mink-javascript-errors/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (2)Used By (0)

fabiang/mink-javascript-errors
==============================

[](#fabiangmink-javascript-errors)

This is an extension for Mink that can handle JavaScript errors occuring on a web page. After every step this extension checks for errors and throws them as exceptions. Also AJAX errors are supported via jQuery.

[![Build Status](https://camo.githubusercontent.com/bca53ab3b5136363c44efd4de64370e0ae020d7f70ef8300d18a38521106e99e/68747470733a2f2f7472617669732d63692e6f72672f66616269616e672f6d696e6b2d6a6176617363726970742d6572726f72732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/fabiang/mink-javascript-errors)[![License](https://camo.githubusercontent.com/2ee9bad43372c8b7d4d64e2457ef531527c2580f5b931c0e612254fa9d41b99a/68747470733a2f2f706f7365722e707567782e6f72672f66616269616e672f6d696e6b2d6a6176617363726970742d6572726f72732f6c6963656e7365)](https://packagist.org/packages/fabiang/mink-javascript-errors)

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

[](#installation)

Install this extension with [Composer](http://getcomposer.org/):

```
composer require fabiang/mink-javascript-errors=@dev --dev

```

Configuration
-------------

[](#configuration)

Add the following to your `behat.yml`:

```
default:
  extensions:
    Fabiang\Mink\JavaScriptErrors: ~
```

Load the provided JavaScript file in every of your web pages:

```

```

If you have loaded jQuery before the `ErrorHandler.min.js` the extension automatically handles Ajax errors.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

3828d ago

### Community

Maintainers

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

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fabiang-mink-javascript-errors/health.svg)

```
[![Health](https://phpackages.com/badges/fabiang-mink-javascript-errors/health.svg)](https://phpackages.com/packages/fabiang-mink-javascript-errors)
```

###  Alternatives

[drupal/core-dev

require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.

2021.0M277](/packages/drupal-core-dev)[genesis/behat-fail-aid

Get more out of your test suite by getting it to work with you when tests fail. Screenshots and more. Works with Goutte and MinkExtension.

281.5M17](/packages/genesis-behat-fail-aid)[drevops/behat-steps

Collection of steps for Behat

25381.7k3](/packages/drevops-behat-steps)[devinci/devinci-behat-extension

Provides extra behat goodies.

17593.9k](/packages/devinci-devinci-behat-extension)[polishsymfonycommunity/symfony2-mocker-extension

Behat extension for mocking services defined in the Symfony2 dependency injection container.

26253.1k4](/packages/polishsymfonycommunity-symfony2-mocker-extension)[elkan/behatformatter

This will create a formatter for Behat 3! Fast, Easy and Pretty!

1739.8k](/packages/elkan-behatformatter)

PHPackages © 2026

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