Skip to content

mlalbuquerque/MinkGoutteDriver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mink Goutte Driver

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(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

About

Goutte driver for Mink framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%