You are here

protected function BrowserHtmlDebugTrait::getHtmlOutputHeaders in Drupal 9

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

Returns headers in HTML output format.

Return value

string HTML output headers.

3 calls to BrowserHtmlDebugTrait::getHtmlOutputHeaders()
UiHelperTrait::click in core/tests/Drupal/Tests/UiHelperTrait.php
Clicks the element with the given CSS selector.
UiHelperTrait::drupalGet in core/tests/Drupal/Tests/UiHelperTrait.php
Retrieves a Drupal path or an absolute path.
UiHelperTrait::submitForm in core/tests/Drupal/Tests/UiHelperTrait.php
Fills and submits a form.
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());
}