behat/mink-browserkit-driver

Symfony2 BrowserKit driver for Mink framework

Installs: 20 984 171

Dependents: 401

Suggesters: 7

Security: 0

Stars: 489

Watchers: 4

Forks: 59

Open Issues: 15

Type:mink-driver

1.3.3 2018-05-02 09:25 UTC

This package is auto-updated.

Last update: 2020-01-22 14:15:33 UTC


README

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