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)061.1k↓42.6%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 yesterday

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 57% 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

3873d 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/drupal-extension

Drupal extension for Behat

22215.7M173](/packages/drupal-drupal-extension)[drupal/core-dev

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

2022.6M341](/packages/drupal-core-dev)[friends-of-behat/page-object-extension

Provides default classes for Page object pattern in Behat

1806.6M487](/packages/friends-of-behat-page-object-extension)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[drevops/behat-steps

Collection of steps for Behat

27431.3k4](/packages/drevops-behat-steps)[zenstruck/browser

A fluent interface for your Symfony functional tests.

2262.6M43](/packages/zenstruck-browser)

PHPackages © 2026

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