code: def open_current_in_browser(self):
          
          if self.impact_path is None:
              html = self.page().mainFrame().toHtml()
              html_to_file(html, open_browser=True)
          else:
              if self.action_show_report.isEnabled():
                  # if show report is enable, we are looking at a log
                  open_in_browser(self.log_path)
              else:
                  open_in_browser(self.report_path)
docs: Open current selected impact report in browser.