function BrowserHtmlDebugTrait::getHtmlOutputHeaders

Same name in other branches
  1. 9 core/tests/Drupal/Tests/BrowserHtmlDebugTrait.php \Drupal\Tests\BrowserHtmlDebugTrait::getHtmlOutputHeaders()
  2. 8.9.x core/tests/Drupal/Tests/BrowserHtmlDebugTrait.php \Drupal\Tests\BrowserHtmlDebugTrait::getHtmlOutputHeaders()
  3. 11.x 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

File

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

Class

BrowserHtmlDebugTrait
Provides the debug functions for browser tests.

Namespace

Drupal\Tests

Code

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

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