class WebAssert
Same name in this branch
- 8.9.x core/tests/Drupal/Tests/WebAssert.php \Drupal\Tests\WebAssert
Same name in other branches
- 9 core/tests/Drupal/Tests/WebAssert.php \Drupal\Tests\WebAssert
- 10 core/tests/Drupal/Tests/WebAssert.php \Drupal\Tests\WebAssert
- 11.x core/tests/Drupal/Tests/WebAssert.php \Drupal\Tests\WebAssert
Defines a class with methods for asserting presence of elements during tests.
Hierarchy
- class \Drupal\Tests\WebAssert extends \Behat\Mink\WebAssert
- class \Drupal\simpletest\WebAssert extends \Drupal\Tests\WebAssert
Expanded class hierarchy of WebAssert
Deprecated
in drupal:8.1.1 and is removed from drupal:9.0.0. This was moved to another namespace.
See also
\Drupal\Tests
File
-
core/
modules/ simpletest/ src/ WebAssert.php, line 15
Namespace
Drupal\simpletestView source
class WebAssert extends BaseWebAssert {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.