protected function BrowserHtmlDebugTrait::getHtmlOutputHeaders in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/Tests/BrowserHtmlDebugTrait.php \Drupal\Tests\BrowserHtmlDebugTrait::getHtmlOutputHeaders()
- 10 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\TestsCode
protected function getHtmlOutputHeaders() {
return $this
->formatHtmlOutputHeaders($this
->getSession()
->getResponseHeaders());
}