Function saveSnapshot

  • Experimental

    Takes the snapshot of the current page and saves it to the logger instance. If the logger is not initialized, it will throw an error.

    Parameters

    • ctx: Context

      Context object.

    Returns Promise<void>

    Snapshot html string.