protected function WebDriverTestBase::getHtmlOutputHeaders in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php \Drupal\FunctionalJavascriptTests\WebDriverTestBase::getHtmlOutputHeaders()
- 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\FunctionalJavascriptTestsCode
protected function getHtmlOutputHeaders() {
// The webdriver API does not support fetching headers.
return '';
}