Security update for permissions_by_term
[yaffs-website] / vendor / behat / mink-selenium2-driver / README.md
1 Mink Selenium2 (webdriver) Driver
2 =================================
3 [![Latest Stable Version](https://poser.pugx.org/behat/mink-selenium2-driver/v/stable.svg)](https://packagist.org/packages/behat/mink-selenium2-driver)
4 [![Latest Unstable Version](https://poser.pugx.org/behat/mink-selenium2-driver/v/unstable.svg)](https://packagist.org/packages/behat/mink-selenium2-driver)
5 [![Total Downloads](https://poser.pugx.org/behat/mink-selenium2-driver/downloads.svg)](https://packagist.org/packages/behat/mink-selenium2-driver)
6 [![Build Status](https://travis-ci.org/minkphp/MinkSelenium2Driver.svg?branch=master)](https://travis-ci.org/minkphp/MinkSelenium2Driver)
7 [![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/minkphp/MinkSelenium2Driver/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/minkphp/MinkSelenium2Driver/)
8 [![Code Coverage](https://scrutinizer-ci.com/g/minkphp/MinkSelenium2Driver/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/minkphp/MinkSelenium2Driver/)
9 [![License](https://poser.pugx.org/behat/mink-selenium2-driver/license.svg)](https://packagist.org/packages/behat/mink-selenium2-driver)
10
11 Usage Example
12 -------------
13
14 ``` php
15 <?php
16
17 use Behat\Mink\Mink,
18     Behat\Mink\Session,
19     Behat\Mink\Driver\Selenium2Driver;
20
21 use Selenium\Client as SeleniumClient;
22
23 $url = 'http://example.com';
24
25 $mink = new Mink(array(
26     'selenium2' => new Session(new Selenium2Driver($browser, null, $url)),
27 ));
28
29 $mink->getSession('selenium2')->getPage()->findLink('Chat')->click();
30 ```
31
32 Please refer to [MinkExtension-example](https://github.com/Behat/MinkExtension-example) for an executable example.
33
34 Installation
35 ------------
36
37 ``` json
38 {
39     "require": {
40         "behat/mink":                   "~1.5",
41         "behat/mink-selenium2-driver":  "~1.1"
42     }
43 }
44 ```
45
46 ``` bash
47 $> curl -sS http://getcomposer.org/installer | php
48 $> php composer.phar install
49 ```
50
51 Copyright
52 ---------
53
54 Copyright (c) 2012 Pete Otaqui <pete@otaqui.com>.
55
56 Maintainers
57 -----------
58
59 * Christophe Coevoet [stof](https://github.com/stof)
60 * Pete Otaqui [pete-otaqui](http://github.com/pete-otaqui)