@nice-digital/wdio-cucumber-steps
Version:
Shared step definitions for Cucumber JS BDD tests in WebdriverIO
11 lines • 703 B
TypeScript
/*! https://github.com/webdriverio/cucumber-boilerplate/blob/master/src/support/action/waitFor.js */
/**
* Wait for the given element to be enabled, enabled or exist
* @param {String} selector Element selector
* @param {String} ms Wait duration (optional)
* @param {String} falseState Check for opposite state
* @param {String} state State to check for (default
* existence)
*/
export declare function waitFor(selector: string, ms: string, falseState: string, state: "enabled" | "displayed" | "exist"): Promise<void>;
//# sourceMappingURL=waitFor.d.ts.map