This repository has been archived by the owner. It is now read-only.
Selenium driver for Mink framework
PHP
Clone or download
Pull request Compare This branch is 14 commits behind minkphp:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/Behat/Mink/Driver
tests
.gitignore
.travis.yml
README.md
composer.json
phpunit.xml.dist

README.md

Mink Selenium1 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\SeleniumDriver;

use Selenium\Client as SeleniumClient;

$startUrl = 'http://example.com';

$mink = new Mink(array(
    'selenium' => new Session(new SeleniumDriver(new SeleniumClient($host, $port))),
));

$mink->getSession('selenium')->getPage()->findLink('Chat')->click();

Installation

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

Copyright

Copyright (c) 2012 Alexandre Salomé alexandre.salome@gmail.com.

Maintainers