You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
10 years ago | |
|---|---|---|
| .. | ||
| Tests | 10 years ago | |
| .gitignore | 10 years ago | |
| CHANGELOG.md | 10 years ago | |
| Client.php | 10 years ago | |
| Cookie.php | 10 years ago | |
| CookieJar.php | 10 years ago | |
| History.php | 10 years ago | |
| LICENSE | 10 years ago | |
| README.md | 10 years ago | |
| Request.php | 10 years ago | |
| Response.php | 10 years ago | |
| composer.json | 10 years ago | |
| phpunit.xml.dist | 10 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