public function WebDriverWebAssert::responseHeaderContains in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/FunctionalJavascriptTests/WebDriverWebAssert.php \Drupal\FunctionalJavascriptTests\WebDriverWebAssert::responseHeaderContains()
The use of responseHeaderContains() is not available.
Parameters
string $name: The name of the header.
string $value: The value to check the header against.
File
- core/
tests/ Drupal/ FunctionalJavascriptTests/ WebDriverWebAssert.php, line 66
Class
- WebDriverWebAssert
- Defines a JSWebAssert with no support for status code and header assertions.
Namespace
Drupal\FunctionalJavascriptTestsCode
public function responseHeaderContains($name, $value) {
@trigger_error('Support for responseHeaderContains is to be dropped from Javascript tests. See https://www.drupal.org/node/2857562.', E_USER_DEPRECATED);
parent::responseHeaderContains($name, $value);
}