Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

About

Selenium2 (webdriver) driver for Mink framework

Resources

Stars

8 stars

Watchers

2 watching

Forks

 
 

Latest commit

 

History

274 Commits

Folders and files

Repository files navigation

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 [email protected].

Maintainers

About

Selenium2 (webdriver) driver for Mink framework

Resources

Stars

8 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages