PHPackages                             edmondscommerce/behat-javascript-context - 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. edmondscommerce/behat-javascript-context

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

edmondscommerce/behat-javascript-context
========================================

A Behat Extension for HTML

16121PHP

Since Jul 19Pushed 7y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (1)

Behat Javascript Context
========================

[](#behat-javascript-context)

[![Codacy Badge](https://camo.githubusercontent.com/8dcf70f1f39cf9dc626bb0a8c58d83e669e9fabdd85b3cb4d2841c72f32d151b/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3135353636386134383533343463303362343833633339356537613933386464)](https://app.codacy.com/app/edmondscommerce/behat-javascript-context?utm_source=github.com&utm_medium=referral&utm_content=edmondscommerce/behat-javascript-context&utm_campaign=badger)[![Build Status](https://camo.githubusercontent.com/fd84c3c0c42253d2facf7b2090e113fc5e6ae11e495f526f5e3994aefab650a2/68747470733a2f2f7472617669732d63692e6f72672f65646d6f6e6473636f6d6d657263652f62656861742d6a6176617363726970742d636f6e746578742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/edmondscommerce/behat-javascript-context)

By [Edmonds Commerce](https://www.edmondscommerce.co.uk)
--------------------------------------------------------

[](#by-edmonds-commerce)

A simple Behat Context for working with HTML and navigation

### Installation

[](#installation)

Install via composer

```
"edmondscommerce/behat-javascript-context": "dev-master"

```

### Include Context in Behat Configuration

[](#include-context-in-behat-configuration)

```
default:
    # ...
    suites:
        default:
            # ...
            contexts:
                - # ...
                - EdmondsCommerce\BehatJavascriptContext\JavascriptEventsContext
                - EdmondsCommerce\BehatJavascriptContext\CookieContext
                - EdmondsCommerce\BehatJavascriptContext\JavascriptAlertsContext

```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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/7af407ceeb8622c9c164d386ef3e95cda4c94d141240348ac5703223bb499d0e?d=identicon)[edmondscommerce](/maintainers/edmondscommerce)

---

Top Contributors

[![edmondscommerce](https://avatars.githubusercontent.com/u/62842?v=4)](https://github.com/edmondscommerce "edmondscommerce (6 commits)")[![everon](https://avatars.githubusercontent.com/u/375251?v=4)](https://github.com/everon "everon (2 commits)")[![codacy-badger](https://avatars.githubusercontent.com/u/23704769?v=4)](https://github.com/codacy-badger "codacy-badger (1 commits)")

### Embed Badge

![Health badge](/badges/edmondscommerce-behat-javascript-context/health.svg)

```
[![Health](https://phpackages.com/badges/edmondscommerce-behat-javascript-context/health.svg)](https://phpackages.com/packages/edmondscommerce-behat-javascript-context)
```

###  Alternatives

[dms/phpunit-arraysubset-asserts

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

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

PHPackages © 2026

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