PHPackages                             drunomics/playwright-drupal-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. [Testing &amp; Quality](/categories/testing)
4. /
5. drunomics/playwright-drupal-utils

ActivePlaywright-helper[Testing &amp; Quality](/categories/testing)

drunomics/playwright-drupal-utils
=================================

Provides commands and helpers for testing with playwright.

1.6.2(2mo ago)513.3k↓36.7%11GPL-3.0-or-laterJavaScript

Since Nov 28Pushed 3w ago7 watchersCompare

[ Source](https://github.com/drunomics/playwright-drupal-utils)[ Packagist](https://packagist.org/packages/drunomics/playwright-drupal-utils)[ Docs](https://github.com/drunomics/playwright-drupal-utils)[ RSS](/packages/drunomics-playwright-drupal-utils/feed)WikiDiscussions 1.x Synced 2d ago

READMEChangelog (10)Dependencies (4)Versions (37)Used By (1)

drunomics Playwright Drupal utils
=================================

[](#drunomics-playwright-drupal-utils)

Dependencies:
-------------

[](#dependencies)

- Drush

Overview:
---------

[](#overview)

The package provides:

- Various drush commands in the PlaywrightDrushCommands class useful for testing with playwright. The class is autoloaded and ready to use when package is installed.
- Test helpers and commands

    - The functions in `./tests/helpers/drupal-commands` are reusable helpers for communicating with drupal API in tests.
    - `./tests/helpers/ldp-test` holds a fixture, an extension of playwright test which carries additional variables suitable for testing decoupled projects with diverse origins.
    - `./tests/helpers/test-methods` is a collection of reusable and often used helper functions, for example logging in and out of the site, headers check etc.
    - `./tests/helpers/a11y-helper` is a helper for running accessibility checks using axe-core.

### Setup

[](#setup)

- Add this package to your project's dev dependencies.
- Add package type "playwright-helper" to "installer-types" section of your composer.json
- Adjust the package installation location by adjusting installer-paths in your composer.json. The package needs to be installed in the directory with your playwright installation (location of your package.json).
- Require the helpers in your test files e.g. `const helpers = require("../playwright-drupal-utils/tests/helpers/test-methods");`

License
-------

[](#license)

- Drush Extension is licensed under [GPLv3 or later](src/LICENSE)
- JavaScript code is licensed under [MIT](tests/LICENSE)

Credits
-------

[](#credits)

developed by drunomics GmbH, Please refer to the commit log individual contributors.

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance91

Actively maintained with recent releases

Popularity30

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity58

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.

###  Release Activity

Cadence

Every ~44 days

Recently: every ~16 days

Total

29

Last Release

77d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/132232?v=4)[Wolfgang Ziegler](/maintainers/fago)[@fago](https://github.com/fago)

---

Top Contributors

[![petarbasic](https://avatars.githubusercontent.com/u/52317999?v=4)](https://github.com/petarbasic "petarbasic (30 commits)")[![fago](https://avatars.githubusercontent.com/u/132232?v=4)](https://github.com/fago "fago (4 commits)")[![alexieremia](https://avatars.githubusercontent.com/u/29977258?v=4)](https://github.com/alexieremia "alexieremia (4 commits)")[![onatalushko](https://avatars.githubusercontent.com/u/2096126?v=4)](https://github.com/onatalushko "onatalushko (4 commits)")[![peterserfozo](https://avatars.githubusercontent.com/u/22172388?v=4)](https://github.com/peterserfozo "peterserfozo (4 commits)")[![rmuit](https://avatars.githubusercontent.com/u/153133?v=4)](https://github.com/rmuit "rmuit (4 commits)")[![junkuncz](https://avatars.githubusercontent.com/u/14944208?v=4)](https://github.com/junkuncz "junkuncz (3 commits)")[![arthurlorenz](https://avatars.githubusercontent.com/u/11928191?v=4)](https://github.com/arthurlorenz "arthurlorenz (2 commits)")[![sindurigf](https://avatars.githubusercontent.com/u/51300962?v=4)](https://github.com/sindurigf "sindurigf (2 commits)")[![StavoveiC](https://avatars.githubusercontent.com/u/94967064?v=4)](https://github.com/StavoveiC "StavoveiC (2 commits)")[![ivangrozni](https://avatars.githubusercontent.com/u/3587288?v=4)](https://github.com/ivangrozni "ivangrozni (1 commits)")

### Embed Badge

![Health badge](/badges/drunomics-playwright-drupal-utils/health.svg)

```
[![Health](https://phpackages.com/badges/drunomics-playwright-drupal-utils/health.svg)](https://phpackages.com/packages/drunomics-playwright-drupal-utils)
```

###  Alternatives

[farmos/farmos

A web-based farm record keeping application.

1.3k7.1k1](/packages/farmos-farmos)[lullabot/drainpipe

An automated build tool to allow projects to have a set standardized operations scripts.

43785.5k4](/packages/lullabot-drainpipe)[acquia/cohesion

Site Studio

271.7M10](/packages/acquia-cohesion)[ec-europa/toolkit

Toolkit packaged for Drupal projects based on Robo.

40252.8k34](/packages/ec-europa-toolkit)[vardot/varbase-project

Project template for Varbase distribution.

5362.5k](/packages/vardot-varbase-project)

PHPackages © 2026

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