<?php
use Behat\Mink\Mink,
Behat\Mink\Session,
Behat\Mink\Driver\SahiDriver;
$startUrl = 'http://example.com';
$mink = new Mink(array(
'sahi' => new Session(new SahiDriver('firefox')),
));
$mink->getSession('sahi')->getPage()->findLink('Chat')->click();
{
"require": {
"behat/mink": "~1.5",
"behat/mink-sahi-driver": "~1.1"
}
}
$> curl -sS https://getcomposer.org/installer | php
$> php composer.phar install