Skip to content

underq/MinkZombieDriver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mink Zombie.js Driver

  • Build Status

Usage Example

<?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();

Installation

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

Copyright (c) 2012 Pascal Cremer [email protected]

Maintainers

About

Zombie.js driver for Mink framework

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 99.6%
  • JavaScript 0.4%