public function WebAssert::elementTextContains in Drupal 10
Same name and namespace in other branches
- 9 core/tests/Drupal/Tests/WebAssert.php \Drupal\Tests\WebAssert::elementTextContains()
File
- core/
tests/ Drupal/ Tests/ WebAssert.php, line 923
Class
- WebAssert
- Defines a class with methods for asserting presence of elements during tests.
Namespace
Drupal\TestsCode
public function elementTextContains($selectorType, $selector, $text) {
assert(func_num_args() === 3);
return parent::elementTextContains($selectorType, $selector, $text);
}