drupal/vendor/behat/mink-browserkit-driver
webchick 74a8fc8395 Issue #2578815 by hussainweb: Upgrade behat/mink and behat/mink-goutte-driver 2015-10-04 23:32:44 -07:00
..
src Issue #2578815 by hussainweb: Upgrade behat/mink and behat/mink-goutte-driver 2015-10-04 23:32:44 -07:00
tests Issue #2578815 by hussainweb: Upgrade behat/mink and behat/mink-goutte-driver 2015-10-04 23:32:44 -07:00
.gitignore Issue #2380389 by webflo, Mile23, davidwbarratt, timmillwood, hussainweb, tstoeckler, bojanz, yched, MKorostoff, alexpott, webchick: Use a single vendor directory in the root 2015-09-30 12:58:08 -07:00
.travis.yml Issue #2578815 by hussainweb: Upgrade behat/mink and behat/mink-goutte-driver 2015-10-04 23:32:44 -07:00
CHANGELOG.md Issue #2578815 by hussainweb: Upgrade behat/mink and behat/mink-goutte-driver 2015-10-04 23:32:44 -07:00
LICENSE Issue #2380389 by webflo, Mile23, davidwbarratt, timmillwood, hussainweb, tstoeckler, bojanz, yched, MKorostoff, alexpott, webchick: Use a single vendor directory in the root 2015-09-30 12:58:08 -07:00
README.md Issue #2578815 by hussainweb: Upgrade behat/mink and behat/mink-goutte-driver 2015-10-04 23:32:44 -07:00
composer.json Issue #2578815 by hussainweb: Upgrade behat/mink and behat/mink-goutte-driver 2015-10-04 23:32:44 -07:00
phpunit.xml.dist Issue #2578815 by hussainweb: Upgrade behat/mink and behat/mink-goutte-driver 2015-10-04 23:32:44 -07:00

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