///
import { ChildProcess } from 'child_process';
export declare class ChromeLauncher {
childProcess: ChildProcess | null;
options: ChromeLauncherOptions;
constructor(options?: Partial);
getDefaultArgs(): string[];
getEffectiveArgs(): string[];
launch(): Promise;
stop(): void;
shutdown(timeout: number): Promise;
waitForPort(): Promise;
tryConnect(): Promise;
mergeArgs(...argsList: string[][]): string[];
protected argsToObject(args: string[]): any;
protected objectToArgs(obj: Record): string[];
}
interface ChromeLauncherOptions {
chromePath: string;
chromeAddress: string;
chromePort: number;
userDataDir: string;
cacheDir: string;
stdio: any;
args: Array;
noDefaultArgs: boolean;
terminateProcessOnExit: boolean;
connectionTimeout: number;
}
export {};
//# sourceMappingURL=launcher.d.ts.map