Skip to content

Browser-Kit: Replace Client with AbstractBrowser #13761

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 8, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions components/browser_kit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ make AJAX requests::
Clicking Links
~~~~~~~~~~~~~~

The ``Client`` object is capable of simulating link clicks. Pass the text
The ``AbstractBrowser`` is capable of simulating link clicks. Pass the text
content of the link and the client will perform the needed HTTP GET request to
simulate the link click::

Expand All @@ -122,7 +122,7 @@ provides access to the link properties (e.g. ``$link->getMethod()``,
Submitting Forms
~~~~~~~~~~~~~~~~

The ``Client`` object is also capable of submitting forms. First, select the
The ``AbstractBrowser`` is also capable of submitting forms. First, select the
form using any of its buttons and then override any of its properties (method,
field values, etc.) before submitting it::

Expand Down Expand Up @@ -173,7 +173,7 @@ Cookies
Retrieving Cookies
~~~~~~~~~~~~~~~~~~

The ``Client`` implementation exposes cookies (if any) through a
The ``AbstractBrowser`` implementation exposes cookies (if any) through a
:class:`Symfony\\Component\\BrowserKit\\CookieJar`, which allows you to store and
retrieve any cookie while making requests with the client::

Expand Down