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
Compliant and Reliable File Transfers Backed by Top Security Certifications Icon
Compliant and Reliable File Transfers Backed by Top Security Certifications

Cerberus FTP Server delivers SOC 2 Type II certified security and FIPS 140-2 validated encryption.

Stop relying on non-certified, legacy file transfer tools that creak under the weight of modern security demands. Get full audit trails, advanced access controls and more supported by an award-winning team of experts. Start your free 25-day trial today.
Start Free Trial
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