Skip to content
This repository was archived by the owner on Jun 12, 2023. It is now read-only.

minkphp/MinkGoutteDriver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 Cannot retrieve latest commit at this time.

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mink Goutte Driver

  • 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

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

Maintainers