MinkGoutteDriver 0 travis-ci Packagist phpunit

Goutte driver for Mink framework

Mink Goutte Driver

Latest Stable Version Latest Unstable Version Total Downloads Build Status Scrutinizer Quality Score Code Coverage License

Usage Example

<?php

require "vendor/autoload.php";

use Behat\Mink\Mink,
    Behat\Mink\Session,
    Behat\Mink\Driver\GoutteDriver,
    Behat\Mink\Driver\Goutte\Client as GoutteClient;

$mink = new Mink(array(
    'goutte' => new Session(new GoutteDriver(new GoutteClient())),
));

$session = $mink->getSession('goutte');
$session->visit("http://php.net/");
$session->getPage()->clickLink('Downloads');
echo $session->getCurrentUrl() . PHP_EOL;

Installation

Add a file composer.json with content:

{
    "require": {
        "behat/mink":               "~1.5",
        "behat/mink-goutte-driver": "~1.0"
    }
}

(or merge the above into your project’s existing composer.json file)

$> curl -sS https://getcomposer.org/installer | php
$> php composer.phar install

Maintainers

Related Repositories

MinkGoutteDriver

MinkGoutteDriver

Goutte driver for Mink framework ...

MinkGoutteDriver

MinkGoutteDriver

Goutte driver for Mink framework ...


Top Contributors

stof everzet aik099 hussainweb rjmunro hason swestcott benja-M-1 clemherreman davedevelopment Einenlum eugenegp stephpy

Releases

-   v1.2.1 zip tar
-   v1.2.0 zip tar
-   v1.1.0 zip tar
-   v1.0.9 zip tar
-   v1.0.8 zip tar
-   v1.0.7 zip tar
-   v1.0.6 zip tar
-   v1.0.5 zip tar
-   v1.0.4 zip tar
-   v1.0.3 zip tar
-   v1.0.2 zip tar
-   v1.0.1 zip tar
-   v1.0.0 zip tar