import type { Capabilities, Services } from "@wdio/types"; import type { wdi5Capabilities, wdi5Config, wdi5MultiRemoteCapability } from "./types/wdi5.types.js"; export default class Service implements Services.ServiceInstance { private _options?; private _capabilities?; private _config?; constructor(_options?: wdi5Config, // TODO: this is the successor to _config in wdio^8 _capabilities?: wdi5Capabilities[] | wdi5MultiRemoteCapability, _config?: wdi5Config); before(capabilities: Capabilities.RequestedMultiremoteCapabilities, specs: string[], browserInstance: WebdriverIO.Browser): Promise; afterCommand(commandName: string, args: any[], result: any): void; /** * waits until btp's wz std ed iframe containing the target app is available, * switches the browser context into the iframe * and eventually injects the wdi5 into the target app */ enableBTPWorkZoneStdEdition(browserInstance: WebdriverIO.Browser): Promise; /** * this is a helper function to late-inject ui5 at test-time * it relays the the wdio configuration (set in the .before() hook to the browser.options parameter by wdio) * to the injectUI5 function of the actual wdi5-bridge */ injectUI5(browserInstance?: WebdriverIO.Browser): Promise; } //# sourceMappingURL=service.d.ts.map