diff --git a/core/tests/Drupal/Tests/BrowserTestBase.php b/core/tests/Drupal/Tests/BrowserTestBase.php
index ea88906..13456d3 100644
--- a/core/tests/Drupal/Tests/BrowserTestBase.php
+++ b/core/tests/Drupal/Tests/BrowserTestBase.php
@@ -1754,4 +1754,20 @@ protected function getConfigSchemaExclusions() {
     return array_unique($exceptions);
   }
 
+  /**
+   * Outputs the page to assist with debugging.
+   *
+   * @see \Drupal\Tests\Listeners\HtmlOutputPrinter
+   */
+  protected function outputPage() {
+    $session = $this->getSession();
+    $out = $session->getPage()->getContent();
+    $url = $session->getCurrentUrl();
+    $html_output = 'GET request to: ' . $url .
+      '<hr />Ending URL: ' . $this->getSession()->getCurrentUrl();
+    $html_output .= '<hr />' . $out;
+    $html_output .= $this->getHtmlOutputHeaders();
+    $this->htmlOutput($html_output);
+  }
+
 }
