code: def _save_html_report(self, heads=None, refresh=None):
          
          report = ReportHtml(self)
          heads = heads if heads else {}
          test_report_filename = report.get_current_filename("html")
          report.generate(test_report_filename, title='Test Results', heads=heads, refresh=refresh)
  
          # Update latest.html in the log root directory
          latest_report_filename = report.get_latest_filename("html")
          report.generate(latest_report_filename, title='Test Results', heads=heads, refresh=refresh)
docs: Save html report.
  
          :param heads: headers as dict
          :param refresh: Boolean, if True will add a reload-tag to the report
          :return: Nothing