oxid-esales / mink-selenium-driver
Selenium driver for Mink framework
Installs: 342 449
Dependents: 1
Suggesters: 0
Security: 0
Stars: 3
Watchers: 13
Forks: 12
Type:mink-driver
Requires
- php: >=5.3.1
- behat/mink: ~1.5.0
- oxid-esales/php-selenium: ~1.0.5
- symfony/dom-crawler: ~2.0
This package is auto-updated.
Last update: 2024-09-27 14:59:46 UTC
README
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