behat / mink-browserkit-driver
Symfony2 BrowserKit driver for Mink framework
Installs: 50 846 108
Dependents: 367
Suggesters: 6
Security: 0
Stars: 549
Watchers: 6
Forks: 80
Open Issues: 6
Type:mink-driver
Requires
- php: >=7.2
- ext-dom: *
- behat/mink: ^1.11.0@dev
- symfony/browser-kit: ^4.4 || ^5.0 || ^6.0 || ^7.0
- symfony/dom-crawler: ^4.4 || ^5.0 || ^6.0 || ^7.0
Requires (Dev)
- mink/driver-testsuite: dev-master
- phpstan/phpstan: ^1.10
- phpstan/phpstan-phpunit: ^1.3
- phpunit/phpunit: ^8.5 || ^9.5
- symfony/error-handler: ^4.4 || ^5.0 || ^6.0 || ^7.0
- symfony/http-client: ^4.4 || ^5.0 || ^6.0 || ^7.0
- symfony/http-kernel: ^4.4 || ^5.0 || ^6.0 || ^7.0
- symfony/mime: ^4.4 || ^5.0 || ^6.0 || ^7.0
- yoast/phpunit-polyfills: ^1.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