Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/vendor/behat/mink-selenium2-driver
Yannick Warnier ea275aec7f Add static resources and remove tests dir for 1.10.8 release 9 years ago
..
src/Behat/Mink/Driver
tests
.gitignore
.travis.yml
README.md
composer.json
phpunit.xml.dist

README.md

Mink Selenium2 (webdriver) Driver

  • Build Status

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.4.*",
        "behat/mink-selenium2-driver":  "1.0.*"
    }
}
$> curl http://getcomposer.org/installer | php
$> php composer.phar install

Copyright (c) 2012 Pete Otaqui pete@otaqui.com.

Maintainers