btstacc/mink-selenium2-driver

Selenium2 (WebDriver) driver for Mink framework

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 164

Type:mink-driver

v1.3.1 2016-03-05 09:10 UTC

This package is not auto-updated.

Last update: 2024-11-04 15:47:49 UTC


README

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