Selenium2 (webdriver) driver for Mink framework
PHP
Switch branches/tags
Pull request Compare This branch is 294 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 Selenium2 (webdriver) Driver

  • Build Status

Usage Example

<?php

use Behat\Mink\Mink,
    Behat\Mink\Session,
    Behat\Mink\Driver\Selenium2Driver;

use Selenium\Client as SeleniumClient;

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

$mink = new Mink(array(
    'selenium2' => new Session(new Selenium2Driver($browser, null, $url)),
));

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

Please refer to MinkExtension-example for an executable example.

Installation

{
    "requires": {
        "behat/mink":                   "1.4.*",
        "behat/mink-selenium2-driver":  "*"
    }
}
curl http://getcomposer.org/installer | php
php composer.phar install

Copyright

Copyright (c) 2012 Pete Otaqui pete@otaqui.com.

Maintainers