You are here

public function WebAssert::elementAttributeExists in Drupal 10

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

File

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

Class

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

Namespace

Drupal\Tests

Code

public function elementAttributeExists($selectorType, $selector, $attribute) {
  assert(func_num_args() === 3);
  return parent::elementAttributeExists($selectorType, $selector, $attribute);
}