forked from minkphp/MinkBrowserKitDriver
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor #1 Support for PHP ^7.2 & Symfony 3.4/4.4/5+ (pamil)
This PR was merged into the 1.3.x-dev branch. Discussion ---------- Commits ------- 8f60548 Clarify docs 46b3c0a Support for PHP ^7.2 & Symfony 3.4/4.4/5+ 1402d74 Fix tests & drop Symfony 3.4 88bfed6 Replace the original package 8a7611e Fix the tests
- Loading branch information
Showing
7 changed files
with
68 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
vendor | ||
composer.lock | ||
/phpunit.xml | ||
/.phpunit.result.cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,5 @@ | ||
Mink BrowserKit Driver | ||
====================== | ||
This is the fork of MinkBrowserKitDriver library that supports PHP `^7.2` and supports Symfony `^4.4` and `^5.0`. | ||
|
||
[![Latest Stable Version](https://poser.pugx.org/behat/mink-browserkit-driver/v/stable.png)](https://packagist.org/packages/behat/mink-browserkit-driver) | ||
[![Latest Unstable Version](https://poser.pugx.org/behat/mink-browserkit-driver/v/unstable.svg)](https://packagist.org/packages/behat/mink-browserkit-driver) | ||
[![Total Downloads](https://poser.pugx.org/behat/mink-browserkit-driver/downloads.png)](https://packagist.org/packages/behat/mink-browserkit-driver) | ||
[![Build Status](https://travis-ci.org/minkphp/MinkBrowserKitDriver.svg?branch=master)](https://travis-ci.org/minkphp/MinkBrowserKitDriver) | ||
[![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/minkphp/MinkBrowserKitDriver/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/minkphp/MinkBrowserKitDriver/) | ||
[![Code Coverage](https://scrutinizer-ci.com/g/minkphp/MinkBrowserKitDriver/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/minkphp/MinkBrowserKitDriver/) | ||
[![License](https://poser.pugx.org/behat/mink-browserkit-driver/license.svg)](https://packagist.org/packages/behat/mink-browserkit-driver) | ||
For the documentation, please [refer to the original repository](https://github.com/minkphp/MinkBrowserKitDriver). | ||
|
||
Usage Example | ||
------------- | ||
|
||
``` php | ||
<?php | ||
|
||
use Behat\Mink\Mink, | ||
Behat\Mink\Session, | ||
Behat\Mink\Driver\BrowserKitDriver; | ||
|
||
use Symfony\Component\HttpKernel\Client; | ||
|
||
$app = require_once(__DIR__.'/app.php'); // Silex app | ||
|
||
$mink = new Mink(array( | ||
'silex' => new Session(new BrowserKitDriver(new Client($app))), | ||
)); | ||
|
||
$mink->getSession('silex')->getPage()->findLink('Chat')->click(); | ||
``` | ||
|
||
Installation | ||
------------ | ||
|
||
To install use the `composer require` command: | ||
|
||
```bash | ||
composer require --dev behat/mink behat/mink-browserkit-driver | ||
``` | ||
|
||
Maintainers | ||
----------- | ||
|
||
* Christophe Coevoet [stof](https://github.com/stof) | ||
* Other [awesome developers](https://github.com/minkphp/MinkBrowserKitDriver/graphs/contributors) | ||
No updates other than Symfony compatibility will be provided, but this fork _might_ be synchronised with the original repository in the future. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters