Skip to content
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
2 changes: 1 addition & 1 deletion testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ Now you can use CSS selectors with the crawler. To assert that the phrase
$this->assertSelectorTextContains('html h1.title', 'Hello World');

This assertion checks if the first element matching the CSS selector contains
the given text. This asserts calls ``$crawler->filter('html h1.title')``
the given text. This assert calls ``$crawler->filter('html h1.title')``
internally, which allows you to use CSS selectors to filter any HTML element in
the page and check for its existence, attributes, text, etc.

Expand Down