UNPKG

@puberty-labs/clits

Version:

CLiTS (Chrome Logging and Inspection Tool Suite) is a powerful Node.js library for AI-controlled Chrome browser automation, testing, and inspection. Features enhanced CSS selector support (:contains(), XPath), dry-run mode, element discovery tools, and co

32 lines (31 loc) 817 B
import { ExtractedLog } from './extractor.js'; export interface ReportOptions { logs: ExtractedLog[]; extractionOptions?: any; includeErrorSummary?: boolean; } export interface ErrorSummary { totalErrors: number; errorTypes: Record<string, number>; mostCommonErrors: Array<{ type: string; count: number; percentage: number; }>; } export interface ReportSummary { totalLogs: number; fileTypes: Record<string, number>; errors?: ErrorSummary; } export interface DebugReport { timestamp: string; logs: ExtractedLog[]; options: any; summary: ReportSummary; } export declare class ReportGenerator { static generateReport(options: ReportOptions): DebugReport; private static analyzeFileTypes; private static generateErrorSummary; }