webdriverio
Version:
Next-gen browser and mobile automation test framework for Node.js
12 lines • 585 B
TypeScript
/**
* This method is an command wrapper for elements that checks if a command is called
* that wasn't found on the page and automatically waits for it
*
* @param {Function} fn command shim
*/
export declare const elementErrorHandler: (fn: Function) => (commandName: string, commandFn: Function) => (this: WebdriverIO.Element, ...args: unknown[]) => any;
/**
* handle single command calls from multiremote instances
*/
export declare const multiremoteHandler: (wrapCommand: Function) => (commandName: keyof WebdriverIO.Browser) => any;
//# sourceMappingURL=middlewares.d.ts.map