You are here

protected function WebDriverTestBase::getHtmlOutputHeaders in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php \Drupal\FunctionalJavascriptTests\WebDriverTestBase::getHtmlOutputHeaders()
  2. 10 core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php \Drupal\FunctionalJavascriptTests\WebDriverTestBase::getHtmlOutputHeaders()

Returns headers in HTML output format.

Return value

string HTML output headers.

Overrides BrowserHtmlDebugTrait::getHtmlOutputHeaders

1 call to WebDriverTestBase::getHtmlOutputHeaders()
BrowserWithJavascriptTest::drupalGetWithAlert in core/tests/Drupal/FunctionalJavascriptTests/BrowserWithJavascriptTest.php
Retrieves a Drupal path or an absolute path.

File

core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php, line 219

Class

WebDriverTestBase
Runs a browser test using a driver that supports JavaScript.

Namespace

Drupal\FunctionalJavascriptTests

Code

protected function getHtmlOutputHeaders() {

  // The webdriver API does not support fetching headers.
  return '';
}