UNPKG

458 BTypeScriptView Raw
1import { Chrome, Command, ChromelessOptions } from '../types';
2export default class LocalChrome implements Chrome {
3 private options;
4 private runtimeClientPromise;
5 private chromeInstance?;
6 constructor(options?: ChromelessOptions);
7 private initRuntimeClient();
8 private startChrome();
9 private connectToChrome();
10 private setViewport(client);
11 process<T extends any>(command: Command): Promise<T>;
12 close(): Promise<void>;
13}