damien-list / mink-browserkit-driver
Symfony2 BrowserKit driver for Mink framework
Installs: 88
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 80
Type:mink-driver
Requires
- php: >=5.3.6
- behat/mink: ^1.7.1@dev
- symfony/browser-kit: ~2.3|~3.0|~4.0
- symfony/dom-crawler: ~2.3|~3.0|~4.0
Requires (Dev)
- mink/driver-testsuite: dev-master
- 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