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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
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

3 days ago