You are here

protected function BrowserHtmlDebugTrait::getHtmlOutputHeaders in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/BrowserHtmlDebugTrait.php \Drupal\Tests\BrowserHtmlDebugTrait::getHtmlOutputHeaders()
  2. 9 core/tests/Drupal/Tests/BrowserHtmlDebugTrait.php \Drupal\Tests\BrowserHtmlDebugTrait::getHtmlOutputHeaders()

Returns headers in HTML output format.

Return value

string HTML output headers.

1 method overrides BrowserHtmlDebugTrait::getHtmlOutputHeaders()
WebDriverTestBase::getHtmlOutputHeaders in core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php
Returns headers in HTML output format.

File

core/tests/Drupal/Tests/BrowserHtmlDebugTrait.php, line 102

Class

BrowserHtmlDebugTrait
Provides the debug functions for browser tests.

Namespace

Drupal\Tests

Code

protected function getHtmlOutputHeaders() {
  return $this
    ->formatHtmlOutputHeaders($this
    ->getSession()
    ->getResponseHeaders());
}