UNPKG

581 BTypeScriptView Raw
1/**
2 * This method is an command wrapper for elements that checks if a command is called
3 * that wasn't found on the page and automatically waits for it
4 *
5 * @param {Function} fn command shim
6 */
7export declare const elementErrorHandler: (fn: Function) => (commandName: string, commandFn: Function) => (this: WebdriverIO.Element, ...args: any[]) => any;
8/**
9 * handle single command calls from multiremote instances
10 */
11export declare const multiremoteHandler: (wrapCommand: Function) => (commandName: keyof WebdriverIO.Browser) => any;
12//# sourceMappingURL=middlewares.d.ts.map
\No newline at end of file