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

Selenium2 (webdriver) driver for Mink framework

Notifications You must be signed in to change notification settings

Behat/MinkSelenium2Driver

 
 

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 pete@otaqui.com.

Maintainers

About

Selenium2 (webdriver) driver for Mink framework

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 98.6%
  • Shell 1.4%