writeNewLine example

      putenv('BROWSERTEST_OUTPUT_FILE');
    }
  }

  /** * Prints the list of HTML output generated during the test. */
  protected function printHtmlOutput() {
    if ($this->browserOutputFile) {
      $contents = file_get_contents($this->browserOutputFile);
      if ($contents) {
        $this->writeNewLine();
        $this->writeWithColor('bg-yellow, fg-black', 'HTML output was generated');
        $this->write($contents);
      }
      // No need to keep the file around any more.       unlink($this->browserOutputFile);
    }
  }

}
Home | Imprint | This part of the site doesn't use cookies.