testplane
Version:
Tests framework based on mocha and wdio
17 lines (16 loc) • 473 B
TypeScript
export type WdProcess = {
gridUrl: string;
free: () => void;
kill: () => void;
};
export declare class WebdriverPool {
private driverProcess;
private portToDriverProcess;
constructor();
getWebdriver(browserName?: string, browserVersion?: string, { debug }?: {
debug?: boolean | undefined;
}): ReturnType<typeof this.createWebdriverProcess>;
private freeWebdriver;
private killWebdriver;
private createWebdriverProcess;
}