Bachir Soussi Chiadmi 58f46e4e8f caore d8 files há 10 anos atrás
..
src 58f46e4e8f caore d8 files há 10 anos atrás
.gitignore 58f46e4e8f caore d8 files há 10 anos atrás
.travis.yml 58f46e4e8f caore d8 files há 10 anos atrás
CHANGELOG.md 58f46e4e8f caore d8 files há 10 anos atrás
LICENSE 58f46e4e8f caore d8 files há 10 anos atrás
README.md 58f46e4e8f caore d8 files há 10 anos atrás
composer.json 58f46e4e8f caore d8 files há 10 anos atrás
phpunit.xml.dist 58f46e4e8f caore d8 files há 10 anos atrás

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

{
    "require": {
        "behat/mink":                   "~1.5",
        "behat/mink-browserkit-driver": "~1.1"
    }
}
$> curl -sS https://getcomposer.org/installer | php
$> php composer.phar install

Maintainers