systelab-components-wdio-test
Version:
Widgets to be use in the E2E Tests based in WDIO
16 lines (15 loc) • 574 B
TypeScript
import type { Capabilities } from "@wdio/types";
import { BrowserType } from "./automation-environment.js";
export interface Application {
id: number;
browserType: BrowserType;
options: Capabilities.WebdriverIOConfig;
browser: WebdriverIO.Browser;
}
export declare class ApplicationManager {
private static nextId;
private static applications;
static start(browserType: BrowserType, options: Capabilities.WebdriverIOConfig): Promise<Application>;
static stop(id: number): Promise<void>;
static get(id: number): Application | undefined;
}