Yannick Warnier 76a0eae5ea Add static resources and remove tests dir for beta release 5 éve
..
src 76a0eae5ea Add static resources and remove tests dir for beta release 5 éve
tests 76a0eae5ea Add static resources and remove tests dir for beta release 5 éve
.gitignore 76a0eae5ea Add static resources and remove tests dir for beta release 5 éve
.travis.yml 76a0eae5ea Add static resources and remove tests dir for beta release 5 éve
CHANGELOG.md 76a0eae5ea Add static resources and remove tests dir for beta release 5 éve
LICENSE 76a0eae5ea Add static resources and remove tests dir for beta release 5 éve
README.md 76a0eae5ea Add static resources and remove tests dir for beta release 5 éve
composer.json 76a0eae5ea Add static resources and remove tests dir for beta release 5 éve
phpunit.xml.dist 76a0eae5ea Add static resources and remove tests dir for beta release 5 éve

README.md

Mink BrowserKit Driver

Latest Stable Version Latest Unstable Version Total Downloads Build Status Scrutinizer Quality Score Code Coverage License

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