Skip to content

widop/MinkSelenium2Driver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mink Selenium2 (webdriver) Driver

Usage Example

<?php

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

use Selenium\Client as SeleniumClient;

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

$mink = new Mink(array(
    'selenium2' => new Session(new Selenium2Driver($browser, null, $url)),
));

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

Installation

{
    "requires": {
        "behat/mink":                   "1.4.*",
        "behat/mink-selenium2-driver":  "*"
    }
}
curl 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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%