# Mink

> PHP browser controller and emulator for testing web apps, with one API over many drivers

Source: https://talira.ai/catalog/mink-9xw53y86
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [developer tools / testing / browser](https://talira.ai/categories/developer-tools/testing/browser), [languages / php](https://talira.ai/categories/languages/php)
- Licence: MIT[^3]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Backed by: [Konstantin Kudryashov](https://talira.ai/orgs/konstantin-kudryashov.md)

Mink is an open source browser controller and emulator for testing web applications, written in PHP: your test suite visits pages, traverses and manipulates them and interacts with them through one API, and a driver connects that API to a real browser emulator. Drivers include BrowserKit and Goutte (headless, no JavaScript), Selenium2 (WebDriver), Chrome, Zombie, Sahi and Selenium, and you can mix several sessions in one test. The Selenium2 driver ships as its own package, behat/mink-selenium2-driver. Konstantin Kudryashov wrote it.

## Links

- Website: https://mink.behat.org/
- GitHub: https://github.com/minkphp/Mink

## Problems it solves

- drive a browser from my PHP tests
- write functional tests that click through my PHP web app
- switch my PHP browser tests between a headless client and Selenium

## Features

- one API to control a browser: visit, traverse, manipulate and interact with pages
- drivers for BrowserKit/Goutte, Selenium2 (WebDriver), Chrome, Zombie, Sahi and Selenium
- several named sessions in one test
- custom drivers through DriverInterface

## Limitations

- Drivers differ in what they support: BrowserKit cannot run JavaScript, and Selenium2 cannot read the response status code.[^1]

## Trust

Overall: 0.50 out of 1.
Signals: maintenance 0.62, adoption 0.64, momentum 0.30, community 0.81, backing 0.30, extensibility 0.00.

- last commit 11 days ago
- 3 commits in the last 90 days
- latest release v1.13.0 12 months ago
- 1.6k GitHub stars
- 108 contributors
- backed by Konstantin Kudryashov

## Sources

[^1]: https://mink.behat.org/en/latest/guides/drivers.html (checked 28 Nov 2026)
[^2]: https://mink.behat.org/en/latest/ (checked 28 Nov 2026)
[^3]: https://github.com/minkphp/Mink/blob/master/LICENSE (checked 28 Nov 2026)
