This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/BrowserKit
2015-10-11 10:29:26 +02:00
..
Tests [BrowserKit] Added isFollowingRedirects and getMaxRedirects methods 2015-09-26 10:21:42 +02:00
.gitignore Added missing files .gitignore 2013-07-21 14:12:18 +02:00
CHANGELOG.md [BrowserKit] should not follow redirects if status code is not 30x 2013-05-15 17:16:46 +02:00
Client.php Merge branch '2.7' into 2.8 2015-09-29 14:32:55 +02:00
composer.json Merge branch '2.7' into 2.8 2015-10-10 11:36:22 +02:00
Cookie.php remove api tags from code 2015-09-28 19:11:22 +02:00
CookieJar.php remove api tags from code 2015-09-28 19:11:22 +02:00
History.php Merge branch '2.3' into 2.5 2014-12-02 21:15:53 +01:00
LICENSE Updated copyright to 2015 2015-01-01 13:56:52 +01:00
phpunit.xml.dist [PhpUnit] Auto-register SymfonyTestsListener 2015-10-11 10:29:26 +02:00
README.md Make Proper English 2015-09-28 09:26:52 +02:00
Request.php remove api tags from code 2015-09-28 19:11:22 +02:00
Response.php remove api tags from code 2015-09-28 19:11:22 +02:00

BrowserKit Component

BrowserKit simulates the behavior of a web browser.

The component only provides an abstract client and does not provide any "default" backend for the HTTP layer.

Resources

For a simple implementation of a browser based on an HTTP layer, have a look at Goutte.

For an implementation based on HttpKernelInterface, have a look at the Client provided by the HttpKernel component.

You can run the unit tests with the following command:

$ cd path/to/Symfony/Component/BrowserKit/
$ composer install
$ phpunit