From 72e20e67fc2e76f84dbfc2e01cf2e86149d0b6bf Mon Sep 17 00:00:00 2001 From: Jacob Dreesen Date: Tue, 30 Jun 2020 16:31:11 +0200 Subject: [PATCH] Fix typo in the docs --- testing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing.rst b/testing.rst index ce45021d3f1..ce863b7e319 100644 --- a/testing.rst +++ b/testing.rst @@ -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.