Yannick Warnier 76a0eae5ea Add static resources and remove tests dir for beta release пре 5 година
..
src 76a0eae5ea Add static resources and remove tests dir for beta release пре 5 година
tests 76a0eae5ea Add static resources and remove tests dir for beta release пре 5 година
.gitignore 76a0eae5ea Add static resources and remove tests dir for beta release пре 5 година
.travis.yml 76a0eae5ea Add static resources and remove tests dir for beta release пре 5 година
CHANGELOG.md 76a0eae5ea Add static resources and remove tests dir for beta release пре 5 година
LICENSE 76a0eae5ea Add static resources and remove tests dir for beta release пре 5 година
README.md 76a0eae5ea Add static resources and remove tests dir for beta release пре 5 година
composer.json 76a0eae5ea Add static resources and remove tests dir for beta release пре 5 година
phpunit.xml.dist 76a0eae5ea Add static resources and remove tests dir for beta release пре 5 година

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