Daniel ab1334c0cf the whole shebang 10 роки тому
..
Tests ab1334c0cf the whole shebang 10 роки тому
.gitignore ab1334c0cf the whole shebang 10 роки тому
CHANGELOG.md ab1334c0cf the whole shebang 10 роки тому
Client.php ab1334c0cf the whole shebang 10 роки тому
Cookie.php ab1334c0cf the whole shebang 10 роки тому
CookieJar.php ab1334c0cf the whole shebang 10 роки тому
History.php ab1334c0cf the whole shebang 10 роки тому
LICENSE ab1334c0cf the whole shebang 10 роки тому
README.md ab1334c0cf the whole shebang 10 роки тому
Request.php ab1334c0cf the whole shebang 10 роки тому
Response.php ab1334c0cf the whole shebang 10 роки тому
composer.json ab1334c0cf the whole shebang 10 роки тому
phpunit.xml.dist ab1334c0cf the whole shebang 10 роки тому

README.md

BrowserKit Component

BrowserKit simulates the behavior of a web browser.

The component only provide 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.phar install --dev
$ phpunit