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
Next-Gen Encryption for Post-Quantum Security | CLEAR by Quantum Knight Icon
Next-Gen Encryption for Post-Quantum Security | CLEAR by Quantum Knight

Lock Down Any Resource, Anywhere, Anytime

CLEAR by Quantum Knight is a FIPS-140-3 validated encryption SDK engineered for enterprises requiring top-tier security. Offering robust post-quantum cryptography, CLEAR secures files, streaming media, databases, and networks with ease across over 30 modern platforms. Its compact design, smaller than a single smartphone image, ensures maximum efficiency and low energy consumption.
Learn More
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