lctrs / mink-panther-driver
This package is abandoned and no longer maintained.
No replacement package was suggested.
Panther (WebDriver) driver for Mink framework
v0.8.0
2020-12-30 15:09 UTC
Requires
- php: ^7.2
- behat/behat: ^3.8.1
- behat/mink: ^1.8.1
- behat/mink-extension: ^2.3.1
- php-webdriver/webdriver: ^1.9.0
- symfony/browser-kit: ^4.4.18
- symfony/config: ^4.4.18
- symfony/dependency-injection: ^4.4.18
- symfony/dom-crawler: ^4.4.18
- symfony/panther: ^0.9.0
- webmozart/assert: ^1.9.1
Requires (Dev)
- doctrine/coding-standard: ^8.2.0
- ergebnis/composer-normalize: ^2.12.1
- ergebnis/license: ^1.1.0
- matthiasnoback/symfony-config-test: ^4.2.1
- matthiasnoback/symfony-dependency-injection-test: ^3.1.0
- mink/driver-testsuite: dev-master
- ondram/ci-detector: ^3.5.1
- phpstan/extension-installer: ^1.1.0
- phpstan/phpstan: ^0.12.64
- phpstan/phpstan-deprecation-rules: ^0.12.6
- phpstan/phpstan-phpunit: ^0.12.17
- phpstan/phpstan-strict-rules: ^0.12.7
- phpstan/phpstan-webmozart-assert: ^0.12.8
- phpunit/phpcov: ^5.0.0
- phpunit/phpunit: ^7.5.20
- psalm/plugin-phpunit: ^0.12.2
- vimeo/psalm: ^3.18.2
This package is auto-updated.
Last update: 2020-12-30 15:13:05 UTC
README
Installation
$ composer require --dev lctrs/mink-panther-driver
Usage
With chromedriver
<?php use Behat\Mink\Mink; use Behat\Mink\Session; use Lctrs\MinkPantherDriver\PantherDriver; $mink = new Mink([ 'panther' => new Session( new PantherDriver(PantherDriver::CHROME) ), ]);
With geckodriver
<?php use Behat\Mink\Mink; use Behat\Mink\Session; use Lctrs\MinkPantherDriver\PantherDriver; $mink = new Mink([ 'panther' => new Session( new PantherDriver(PantherDriver::FIREFOX) ), ]);
With Selenium
<?php use Behat\Mink\Mink; use Behat\Mink\Session; use Facebook\WebDriver\Remote\DesiredCapabilities; use Lctrs\MinkPantherDriver\PantherDriver; $mink = new Mink([ 'panther' => new Session( new PantherDriver(PantherDriver::SELENIUM, [ 'host' => 'http://localhost:4444/wd/hub', 'capabilities' => DesiredCapabilities::chrome(), ]) ), ]);
Documentation
mink-panther-driver
is juste a glue betweek Mink
and Symfony Panther
, see their respective documentations :
- For
Mink
, read Mink's documentation - For
Panther
, read Symfony Panther's documentation - For usage with
Behat
, read Behat's documentation
Contributing
Please have a look at CONTRIBUTING.md
.
License
This package is licensed using the MIT License.
Please have a look at LICENSE.md
.