@@ -982,9 +982,15 @@ Crawler Assertions
982982``assertSelectorTextContains(string $selector, string $text, string $message = '') ``/``assertSelectorTextNotContains(string $selector, string $text, string $message = '') ``
983983 Asserts that the first element matching the given selector does (not)
984984 contain the expected text.
985+ ``assertAnySelectorTextContains(string $selector, string $text, string $message = '') ``/``assertAnySelectorTextNotContains(string $selector, string $text, string $message = '') ``
986+ Asserts that any element matching the given selector does (not)
987+ contain the expected text.
985988``assertSelectorTextSame(string $selector, string $text, string $message = '') ``
986989 Asserts that the contents of the first element matching the given
987990 selector does equal the expected text.
991+ ``assertAnySelectorTextSame(string $selector, string $text, string $message = '') ``
992+ Asserts that the any element matching the given selector does equal the
993+ expected text.
988994``assertPageTitleSame(string $expectedTitle, string $message = '') ``
989995 Asserts that the ``<title> `` element is equal to the given title.
990996``assertPageTitleContains(string $expectedTitle, string $message = '') ``
@@ -1002,6 +1008,11 @@ Crawler Assertions
10021008
10031009 The ``assertSelectorCount() `` method was introduced in Symfony 6.3.
10041010
1011+ .. versionadded :: 6.4
1012+
1013+ The ``assertAnySelectorTextContains() ``, ``assertAnySelectorTextNotContains() ``
1014+ and ``assertAnySelectorTextSame() `` were introduced in Symfony 6.4.
1015+
10051016.. _mailer-assertions :
10061017
10071018Mailer Assertions
0 commit comments