docs: async function handleErrorWhenDriverExistsAndRecCountZero() {
    gIn.errRecursionCount = 1; // To prevent recursive error report on error report.
    /* Here we use selenium GUI stuff when there was gT.s.driver.init call  */
    gIn.tracer.msg1('A.W.: Error report: printSelDriverLogs');
    await gT.s.driver.printSelDriverLogs(900).catch(() => {
      gIn.tracer.msg1(
        `Error at printSelDriverLogs at error handling, driver exists: ${Boolean(gT.sOrig.driver)}`
      );
    });
  
    if (!gIn.brHelpersInitiated) {
      gIn.tracer.msg1('A.W.: Error report: initTiaBrHelpers');
      await gT.s.browser.initTiaBrHelpers(true).catch(() => {
        gIn.tracer.msg1(
          `Error at initTiaBrHelpers at error handling, driver exists: ${Boolean(gT.sOrig.driver)}`
        );
      });
    }
  
    gIn.tracer.msg1('A.W.: Error report: printCaughtExceptions');
    await gT.s.browser.printCaughtExceptions(true).catch(() => {
      gIn.tracer.msg1(
        `Error at logExceptions at error handling, driver exists: ${Boolean(gT.sOrig.driver)}`
      );
    });
  
    gIn.tracer.msg1('A.W.: Error report: printSelBrowserLogs');
    await gT.s.browser.printSelBrowserLogs().catch(() => {
      gIn.tracer.msg1(
        `Error at logConsoleContent at error handling, driver exists: ${Boolean(gT.sOrig.driver)}`
      );
    });
  
    gIn.tracer.msg1('A.W.: Error report: screenshot');
    await gT.s.browser.screenshot().catch(() => {
      gIn.tracer.msg1(
        `Error at screenshot at error handling, driver exists: ${Boolean(gT.sOrig.driver)}`
      );
    });
  
    await quitDriver();
  
    throw new Error(gT.engineConsts.CANCELLING_THE_TEST);
  }