PHPackages                             playwright-php/playwright-mink - 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. playwright-php/playwright-mink

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

playwright-php/playwright-mink
==============================

Mink driver powered by Playwright PHP (Chromium/Firefox/WebKit).

v1.0.0(9mo ago)23013[1 PRs](https://github.com/playwright-php/playwright-mink/pulls)MITPHPPHP ^8.2CI passing

Since Nov 8Pushed 3w agoCompare

[ Source](https://github.com/playwright-php/playwright-mink)[ Packagist](https://packagist.org/packages/playwright-php/playwright-mink)[ Docs](https://playwright-php.dev/mink)[ GitHub Sponsors](https://github.com/smnandre)[ RSS](/packages/playwright-php-playwright-mink/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (4)Versions (3)Used By (0)

[![Playwright PHP](https://github.com/playwright-php/.github/raw/main/profile/playwright-php.png)](https://github.com/playwright-php) [![PHP Version](https://camo.githubusercontent.com/e3c573a800a4c73db9b43cccf5963587c070cfa03efef919406eebf23ce49e6d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e322b2d3035393731423f6c6162656c436f6c6f723d30393136314526636f6c6f723d314438443233266c6f676f436f6c6f723d464646464646)](https://camo.githubusercontent.com/e3c573a800a4c73db9b43cccf5963587c070cfa03efef919406eebf23ce49e6d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e322b2d3035393731423f6c6162656c436f6c6f723d30393136314526636f6c6f723d314438443233266c6f676f436f6c6f723d464646464646) [![CI](https://camo.githubusercontent.com/c16772393390a8ebcc7e7e7d11e2b7b081880712583331b73286956331c1428d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f706c61797772696768742d7068702f706c61797772696768742d6d696e6b2f43492e796d6c3f6272616e63683d6d61696e266c6162656c3d546573747326636f6c6f723d314438443233266c6162656c436f6c6f723d303931363145266c6f676f436f6c6f723d464646464646)](https://camo.githubusercontent.com/c16772393390a8ebcc7e7e7d11e2b7b081880712583331b73286956331c1428d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f706c61797772696768742d7068702f706c61797772696768742d6d696e6b2f43492e796d6c3f6272616e63683d6d61696e266c6162656c3d546573747326636f6c6f723d314438443233266c6162656c436f6c6f723d303931363145266c6f676f436f6c6f723d464646464646) [![Release](https://camo.githubusercontent.com/bcb9f8e2b25d87c031ef07d0f435df6bd226d4f2c2f41fefb35a5510d735f985/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f706c61797772696768742d7068702f706c61797772696768742d6d696e6b3f6c6162656c3d537461626c65266c6162656c436f6c6f723d30393136314526636f6c6f723d314438443233266c6f676f436f6c6f723d464646464646)](https://camo.githubusercontent.com/bcb9f8e2b25d87c031ef07d0f435df6bd226d4f2c2f41fefb35a5510d735f985/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f706c61797772696768742d7068702f706c61797772696768742d6d696e6b3f6c6162656c3d537461626c65266c6162656c436f6c6f723d30393136314526636f6c6f723d314438443233266c6f676f436f6c6f723d464646464646) [![License](https://camo.githubusercontent.com/cadc9158df4d707ddeb68eecec2b5e6a365351bb60422953aab8fd9fc50d8c90/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f706c61797772696768742d7068702f706c61797772696768742d6d696e6b3f6c6162656c3d4c6963656e7365266c6162656c436f6c6f723d30393136314526636f6c6f723d314438443233266c6f676f436f6c6f723d464646464646)](https://camo.githubusercontent.com/cadc9158df4d707ddeb68eecec2b5e6a365351bb60422953aab8fd9fc50d8c90/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f706c61797772696768742d7068702f706c61797772696768742d6d696e6b3f6c6162656c3d4c6963656e7365266c6162656c436f6c6f723d30393136314526636f6c6f723d314438443233266c6f676f436f6c6f723d464646464646)

Playwright PHP Mink Driver
==========================

[](#playwright-php-mink-driver)

A [Mink](https://mink.behat.org/) driver powered by [Playwright PHP](https://github.com/playwright-php/playwright).

Use it to keep an existing Mink test suite while running its browser interactions in Chromium, Firefox, or WebKit through Playwright.

Installation
------------

[](#installation)

The driver requires PHP 8.2 or later, Mink 1.10 or later, and Playwright PHP 1.x.

```
composer require --dev playwright-php/playwright-mink
vendor/bin/playwright-install --browsers
```

Usage
-----

[](#usage)

Create the driver, pass it to a Mink session, and use the regular Mink API:

```
