Search by

webpatser / fledge-pest-browser

webpatser

Pest plugin to test browser interactions, ported to fledge-fiber for Fledge (PHP 8.6, no Revolt)

Package info

github.com/webpatser/fledge-pest-browser

pkg:composer/webpatser/fledge-pest-browser

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v5.2.0.1 2026-12-02 21:35 UTC

This package is auto-updated.

Last update: 2026-12-03 07:47:28 UTC


README

A Fledge fork of the Pest browser plugin. It runs on webpatser/fledge-fiber and webpatser/fledge-loop instead of amphp and revolt/event-loop. fledge-loop conflicts with Revolt (one event loop per process), so the upstream plugin cannot be installed next to current Fledge.

Install

composer require --dev webpatser/fledge-pest-browser

The package replaces pestphp/pest-plugin-browser and keeps the Pest\Browser\ namespace, so your tests stay unchanged. Remove the upstream plugin from your require-dev when you swap.

Requires PHP 8.6.

Versioning

5.2.0.1 is Fledge patch 1 on top of upstream 5.2.0. The first three segments match upstream; the fourth is bumped for Fledge-only changes.

Native MySQL/MariaDB driver caveat

The browser server runs in-process. On fledge-fiber's fledge-mysql-native and fledge-mariadb-native drivers, request fibers get their own connection and cannot see the test's uncommitted transaction, so RefreshDatabase and DatabaseTransactions do not work. Use DatabaseTruncation, or run browser tests on the stock driver.

See ORIGINS.md for where this fork comes from and CHANGELOG.md for releases.

Upstream README

This repository contains the Pest Plugin for Browser. To start testing your application with Pest, visit the main Pest repository and the Pest docs.

Pest is open-sourced software licensed under the MIT license.