Skip to content

o3-shop/MinkSeleniumDriver

Repository files navigation

Mink Selenium1 Driver

  • Build Status

Usage Example

<?php

use Behat\Mink\Mink,
    Behat\Mink\Session,
    Behat\Mink\Driver\SeleniumDriver;

use Selenium\Client as SeleniumClient;

$startUrl = 'http://example.com';

$mink = new Mink(array(
    'selenium' => new Session(new SeleniumDriver(new SeleniumClient($host, $port))),
));

$mink->getSession('selenium')->getPage()->findLink('Chat')->click();

Installation

{
    "require": {
        "behat/mink":                  "1.4.*",
        "behat/mink-selenium-driver":  "1.0.*"
    }
}
$> curl http://getcomposer.org/installer | php
$> php composer.phar install

Copyright

Copyright (c) 2012 Alexandre Salomé alexandre.salome@gmail.com.

Maintainers

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages