systelab-components-wdio-test
Version:
Widgets to be use in the E2E Tests based in WDIO
20 lines (19 loc) • 660 B
TypeScript
import type { Capabilities } from "@wdio/types";
import { BrowserType } from "./automation-environment.js";
export interface RemoteApplication {
id: number;
host: RemoteHostData;
remoteId: number;
}
export interface RemoteHostData {
name: string;
port: number;
apiPrefix: string;
}
export declare class RemoteApplicationManager {
private static nextId;
private static applications;
static start(remoteHost: RemoteHostData, browserType: BrowserType, options: Capabilities.WebdriverIOConfig): Promise<RemoteApplication>;
static stop(id: number): Promise<void>;
static get(id: number): RemoteApplication | undefined;
}