Connect browser tests
to your PHP stack.
Use the Symfony bundle for kernel and fixture access, the Mink driver for existing suites, and the setup action for CI.
$
composer require --dev playwright-php/playwright-symfony
Run through Symfony or plain PHPUnit.
playwright-symfony
Kernel-aware browser tests, Symfony fixtures, profiler access, and in-process request handling.
Symfony browser testing
Kernel lifecycle, fixtures, authentication, profiler evidence, and browser-visible behavior.
Browser tests in PHPUnit
Write browser tests as normal PHPUnit tests, with fresh contexts, web-first assertions, and failure artifacts.
Bridges for existing test suites.
playwright-mink
A Mink driver for teams that already have browser tests built around Mink sessions.
devices
The Playwright device registry as PHP data: viewport, user agent, touch, and pixel ratio.
Audit what the browser actually sees.
accessibility
Run axe-core accessibility audits in the browser and assert violations from PHP.
Reference material and setup notes.
Quick reference
Common commands, objects, locators, assertions, and debugging moves in one place.
Runnable scripts
Small scripts grouped by navigation, screenshots, assertions, networking, and debugging.