minkphp / MinkSahiDriver

[DEPRECATED] Sahi.JS driver for Mink framework
MIT License
13 stars 8 forks source link
mink mink-driver php

Mink Sahi.JS Driver

Latest Stable Version Latest Unstable Version Total Downloads Build Status Scrutinizer Quality Score Code Coverage License

Usage Example

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

Installation

{
    "require": {
        "behat/mink":              "~1.5",
        "behat/mink-sahi-driver":  "~1.1"
    }
}
$> curl -sS https://getcomposer.org/installer | php
$> php composer.phar install

Maintainers