Update to drupal 8.0.0-rc1. For more information, see https://www.drupal.org/node/2582663
This commit is contained in:
parent
eb34d130a8
commit
f32e58e4b1
8476 changed files with 211648 additions and 170042 deletions
60
vendor/behat/mink-goutte-driver/README.md
vendored
Normal file
60
vendor/behat/mink-goutte-driver/README.md
vendored
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
Mink Goutte Driver
|
||||
==================
|
||||
|
||||
[](https://packagist.org/packages/behat/mink-goutte-driver)
|
||||
[](https://packagist.org/packages/behat/mink-goutte-driver)
|
||||
[](https://packagist.org/packages/behat/mink-goutte-driver)
|
||||
[](https://travis-ci.org/minkphp/MinkGoutteDriver)
|
||||
[](https://scrutinizer-ci.com/g/minkphp/MinkGoutteDriver/)
|
||||
[](https://scrutinizer-ci.com/g/minkphp/MinkGoutteDriver/)
|
||||
[](https://packagist.org/packages/behat/mink-goutte-driver)
|
||||
|
||||
Usage Example
|
||||
-------------
|
||||
|
||||
``` php
|
||||
<?php
|
||||
|
||||
require "vendor/autoload.php";
|
||||
|
||||
use Behat\Mink\Mink,
|
||||
Behat\Mink\Session,
|
||||
Behat\Mink\Driver\GoutteDriver,
|
||||
Behat\Mink\Driver\Goutte\Client as GoutteClient;
|
||||
|
||||
$mink = new Mink(array(
|
||||
'goutte' => new Session(new GoutteDriver(new GoutteClient())),
|
||||
));
|
||||
|
||||
$session = $mink->getSession('goutte');
|
||||
$session->visit("http://php.net/");
|
||||
$session->getPage()->clickLink('Downloads');
|
||||
echo $session->getCurrentUrl() . PHP_EOL;
|
||||
```
|
||||
|
||||
Installation
|
||||
------------
|
||||
|
||||
Add a file composer.json with content:
|
||||
|
||||
``` json
|
||||
{
|
||||
"require": {
|
||||
"behat/mink": "~1.5",
|
||||
"behat/mink-goutte-driver": "~1.0"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
(or merge the above into your project's existing composer.json file)
|
||||
|
||||
``` bash
|
||||
$> curl -sS https://getcomposer.org/installer | php
|
||||
$> php composer.phar install
|
||||
```
|
||||
|
||||
Maintainers
|
||||
-----------
|
||||
|
||||
* Christophe Coevoet [stof](https://github.com/stof)
|
||||
* Other [awesome developers](https://github.com/minkphp/MinkGoutteDriver/graphs/contributors)
|
||||
Reference in a new issue