o3-shop/mink-selenium-driver

Selenium driver for Mink framework

Installs: 3 230

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:mink-driver

pkg:composer/o3-shop/mink-selenium-driver

v1.0.0 2023-03-05 14:31 UTC

This package is auto-updated.

Last update: 2025-09-29 02:59:32 UTC


README

  • 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