evolic / mink-browserkit-driver
Symfony2 BrowserKit driver for Mink framework
v1.4.0
2020-10-26 15:57 UTC
Requires
- php: >=5.3.6
- behat/mink: ^1.7.1@dev
- symfony/browser-kit: ~2.3|~3.0|~4.0|~5.0
- symfony/dom-crawler: ~2.3|~3.0|~4.0|~5.0
Requires (Dev)
- mink/driver-testsuite: dev-master
- symfony/debug: ^2.7|^3.0|^4.0
- symfony/http-kernel: ~2.3|~3.0|~4.0
README
Usage Example
<?php use Behat\Mink\Mink, Behat\Mink\Session, Behat\Mink\Driver\BrowserKitDriver; use Symfony\Component\HttpKernel\Client; $app = require_once(__DIR__.'/app.php'); // Silex app $mink = new Mink(array( 'silex' => new Session(new BrowserKitDriver(new Client($app))), )); $mink->getSession('silex')->getPage()->findLink('Chat')->click();
Installation
To install use the composer require
command:
composer require --dev behat/mink behat/mink-browserkit-driver
Maintainers
- Christophe Coevoet stof
- Other awesome developers