function WebDriverWebAssert::responseHeaderNotContains

Same name in other branches
  1. 9 core/tests/Drupal/FunctionalJavascriptTests/WebDriverWebAssert.php \Drupal\FunctionalJavascriptTests\WebDriverWebAssert::responseHeaderNotContains()
  2. 8.9.x core/tests/Drupal/FunctionalJavascriptTests/WebDriverWebAssert.php \Drupal\FunctionalJavascriptTests\WebDriverWebAssert::responseHeaderNotContains()
  3. 11.x core/tests/Drupal/FunctionalJavascriptTests/WebDriverWebAssert.php \Drupal\FunctionalJavascriptTests\WebDriverWebAssert::responseHeaderNotContains()

The use of responseHeaderNotContains() 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 81

Class

WebDriverWebAssert
Defines a JSWebAssert with no support for status code and header assertions.

Namespace

Drupal\FunctionalJavascriptTests

Code

public function responseHeaderNotContains($name, $value) {
    @trigger_error('WebDriverWebAssert::responseHeaderNotContains() is deprecated in drupal:8.4.0 and is removed in drupal:12.0.0. See https://www.drupal.org/node/2857562', E_USER_DEPRECATED);
    parent::responseHeaderNotContains($name, $value);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.