<?php
use Behat\Mink\Mink,
Behat\Mink\Session,
Behat\Mink\Driver\ZombieDriver,
Behat\Mink\Driver\NodeJS\Server\ZombieServer;
$startUrl = 'http://example.com';
$mink = new Mink(array(
'zombie' => new Session(new ZombieDriver(new ZombieServer(
$host, $port, $nodeBinary
))),
));
$mink->getSession('zombie')->getPage()->findLink('Chat')->click();
npm install -g [email protected]
(Due to unresolved compatibility issues with newer versions of Zombie.js, we strongly encourage you to not upgrade to a version newer than v0.13.0 for now.)
{
"require": {
"behat/mink": "1.4.*",
"behat/mink-zombie-driver": "*"
}
}
curl http://getcomposer.org/installer | php
php composer.phar install
Copyright (c) 2012 Pascal Cremer [email protected]
- Pascal Cremer b00gizm