famelo/mink-goutte-driver

Goutte driver for Mink framework

Installs: 32

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 52

Type:mink-driver

v1.0.3 2012-07-05 08:30 UTC

This package is auto-updated.

Last update: 2024-11-05 18:25:56 UTC


README

  • Build Status

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

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

Copyright

Copyright (c) 2012 Konstantin Kudryashov (ever.zet). See LICENSE for details.

Maintainers