Mink is an open-source PHP library that provides a browser abstraction layer for web application testing, allowing developers to simulate user interactions with websites in a consistent and flexible way. Instead of tying test logic to a specific browser driver, Mink introduces a unified API that can work with multiple drivers such as Goutte, Selenium, ChromeDriver, or BrowserKit. This abstraction enables developers to write tests once and run them across different environments without changing the test code. Mink is commonly used in behavior-driven development workflows, particularly with frameworks like Behat, where it helps simulate real user behavior such as clicking links, filling forms, and navigating pages. The library supports session management, allowing multiple browser sessions to run simultaneously and interact with different pages or environments.

Features

  • Driver-agnostic browser abstraction supporting multiple backend drivers
  • Simulation of real user interactions such as clicks form input and navigation
  • Session management with support for multiple concurrent browser sessions
  • Integration with testing frameworks like Behat and PHPUnit
  • DOM traversal and element interaction through a consistent API
  • Extensible architecture for adding custom drivers and behaviors

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Mink

Mink Web Site

Other Useful Business Software
Gemini 3 and 200+ AI Models on One Platform Icon
Gemini 3 and 200+ AI Models on One Platform

Access Google's best plus Claude, Llama, and Gemma. Fine-tune and deploy from one console.

Build generative AI apps with Vertex AI. Switch between models without switching platforms.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Mink!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Headless Browsers

Registered

2026-03-17