Skip to content
This repository was archived by the owner on Mar 11, 2021. It is now read-only.
 
 

Latest commit

 

History

335 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

fork I use for making pull requests (see branches); outdated and not for production use; see original project at

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages