PHP Package: behat/mink

Behat Mink is a PHP library for browser emulation and web scraping, providing a high-level API for interacting with web pages programmatically.

Current Version: 1.6.0
Last Updated: Date not available
PHP Requirement: >=5.3.1
Dependencies:
behat/behat
behat/mink-extension
symfony/css-selector
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Behat Mink is a versatile PHP library designed for web testing, browser automation, and web scraping tasks. It abstracts browser interactions, allowing developers to write tests and scripts that simulate user behavior on websites. With Behat Mink, developers can automate repetitive tasks, test web applications, and extract data from web pages efficiently and accurately.

🔗 View on GitHub

Download Latest Version: 1.6.0

Download Download v1.6.0

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/behat/mink/1.6.0/loader.php';
require_once 'libs/behat/behat/3.22.0/loader.php';
require_once 'libs/behat/mink-extension/{lib_version}/loader.php';
require_once 'libs/symfony/css-selector/7.3.0/loader.php';

use Behat\Mink\Driver\GoutteDriver;
use Behat\Mink\Element\NodeElement;
use Symfony\Component\CssSelector\CssSelector;

$obj = new GoutteDriver();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.