Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.
/ MinkSeleniumDriver Public archive

[DEPRECATED] Selenium driver for Mink framework

Notifications You must be signed in to change notification settings

minkphp/MinkSeleniumDriver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mink Selenium1 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\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.5",
        "behat/mink-selenium-driver":  "~1.1"
    }
}
$> curl -sS https://getcomposer.org/installer | php
$> php composer.phar install

Copyright

Copyright (c) 2012 Alexandre Salomé [email protected].

Maintainers