@sap_oss/wdio-qmate-service
Version:
[](https://api.reuse.software/info/github.com/SAP/wdio-qmate-service)[](http
29 lines (28 loc) • 1.16 kB
TypeScript
/**
* @class navigation
* @memberof common
*/
export declare class Navigation {
private vlf;
private ErrorHandler;
/**
* @function navigateToUrl
* @memberOf common.navigation
* @description Navigates to the passed url.
* @param {String} url - The url.
* @example await common.navigation.navigateToUrl("www.sap.com");
*/
navigateToUrl(url: string): Promise<void>;
/**
* @function navigateToUrlAndRetry
* @memberOf common.navigation
* @description Navigates to the passed url and retries the function in case of a failure.
* @param {String} url - The url to navigate to.
* @param {Integer} [retries=3] - The number of retries, can be set in config for all functions under params stepsRetries.
* @param {Integer} [interval=5000] - The interval of the retries (ms), can be set in config for all functions under params stepRetriesIntervals.
* @example await common.navigation.navigateToUrlAndRetry("www.sap.com");
*/
navigateToUrlAndRetry(url: string, retries?: number, interval?: number): Promise<void>;
}
declare const _default: Navigation;
export default _default;