Drupal investigation

HSA Test User c16dcac362 User import 7 years ago
..
src c16dcac362 User import 7 years ago
.gitignore c16dcac362 User import 7 years ago
.travis.yml c16dcac362 User import 7 years ago
CHANGELOG.md c16dcac362 User import 7 years ago
LICENSE c16dcac362 User import 7 years ago
README.md c16dcac362 User import 7 years ago
composer.json c16dcac362 User import 7 years ago
phpunit.xml.dist c16dcac362 User import 7 years ago

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