Bachir Soussi Chiadmi 58f46e4e8f caore d8 files 8 years ago
..
.gitignore 58f46e4e8f caore d8 files 8 years ago
CHANGELOG.md 58f46e4e8f caore d8 files 8 years ago
Client.php 58f46e4e8f caore d8 files 8 years ago
Cookie.php 58f46e4e8f caore d8 files 8 years ago
CookieJar.php 58f46e4e8f caore d8 files 8 years ago
History.php 58f46e4e8f caore d8 files 8 years ago
LICENSE 58f46e4e8f caore d8 files 8 years ago
README.md 58f46e4e8f caore d8 files 8 years ago
Request.php 58f46e4e8f caore d8 files 8 years ago
Response.php 58f46e4e8f caore d8 files 8 years ago
composer.json 58f46e4e8f caore d8 files 8 years ago
phpunit.xml.dist 58f46e4e8f caore d8 files 8 years ago

README.md

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