Registry / testing / friends-of-behat-mink

friends-of-behat-mink

JSON →
library1.11.0phppackagistunverified

Browser controller/emulator abstraction for PHP

composer require friends-of-behat/mink
INSTALL
IMPORT
SIG · FRIENDS-OF-BEHAT-M
F
friends-of-behat-mink
testingphpv1.11.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Mink
use Behat\Mink\Mink;

Initialize Mink with a Goutte driver and visit a page.

use Behat\Mink\Mink; use Behat\Mink\Driver\GoutteDriver; $mink = new Mink([ 'goutte' => new GoutteDriver() ]); $mink->setDefaultSessionName('goutte'); $session = $mink->getSession(); $session->visit('http://example.com'); echo $session->getPage()->getContent();
Debug
Known issues
gotchaGoutteDriver requires the Goutte library which may have additional dependencies.
fix
Install fabpot/goutte via Composer.
affects: >=1.0
Upgrade
Version history
1.11.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
friends-of-behat-mink — pip install friends-of-behat-mink · libregistry