Skip to content

avant1/MinkGoutteDriver

 
 

Repository files navigation

Mink Goutte Driver

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

Usage Example

<?php

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

$startUrl = 'http://example.com';

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

$mink->getSession('goutte')->getPage()->findLink('Chat')->click();

Installation

{
    "require": {
        "behat/mink":               "1.4.*",
        "behat/mink-goutte-driver": "1.0.*"
    }
}
$> curl http://getcomposer.org/installer | php
$> php composer.phar install

Maintainers

About

Goutte driver for Mink framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published