UNPKG

@labnex/cli

Version:

CLI for Labnex, an AI-Powered Testing Automation Platform

25 lines 853 B
import { TestCaseResult } from './lib/testTypes'; export declare class LocalBrowserExecutor { private browser; private page; private currentFrame; private logs; private headlessMode; private aiOptimizationEnabled; private baseUrlGlobal; constructor(options?: { headless?: boolean; aiOptimizationEnabled?: boolean; }); private addLog; initialize(): Promise<void>; executeTestCase(testCaseId: string, stepDescriptions: string[], overallExpectedResult?: string, baseUrl?: string, testCaseTitle?: string): Promise<TestCaseResult>; private _executeStepsInSequence; private _processSingleStep; private executeStep; private _dispatchStepAction; private retryApiCall; cleanup(): Promise<void>; private searchForFile; } //# sourceMappingURL=localBrowserExecutor.d.ts.map