Yannick Warnier 76a0eae5ea Add static resources and remove tests dir for beta release hace 5 años
..
bin 76a0eae5ea Add static resources and remove tests dir for beta release hace 5 años
src 76a0eae5ea Add static resources and remove tests dir for beta release hace 5 años
tests 76a0eae5ea Add static resources and remove tests dir for beta release hace 5 años
.gitignore 76a0eae5ea Add static resources and remove tests dir for beta release hace 5 años
.travis.yml 76a0eae5ea Add static resources and remove tests dir for beta release hace 5 años
CHANGELOG.md 76a0eae5ea Add static resources and remove tests dir for beta release hace 5 años
README.md 76a0eae5ea Add static resources and remove tests dir for beta release hace 5 años
composer.json 76a0eae5ea Add static resources and remove tests dir for beta release hace 5 años
phpunit.xml.dist 76a0eae5ea Add static resources and remove tests dir for beta release hace 5 años

README.md

Mink Selenium2 (webdriver) 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\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

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

Copyright

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

Maintainers