You are here

public function WebAssert::elementAttributeContains in Drupal 10

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/WebAssert.php \Drupal\Tests\WebAssert::elementAttributeContains()

File

core/tests/Drupal/Tests/WebAssert.php, line 963

Class

WebAssert
Defines a class with methods for asserting presence of elements during tests.

Namespace

Drupal\Tests

Code

public function elementAttributeContains($selectorType, $selector, $attribute, $text) {
  assert(func_num_args() === 4);
  return parent::elementAttributeContains($selectorType, $selector, $attribute, $text);
}