@wix/design-system
Version:
@wix/design-system
27 lines • 814 B
TypeScript
import type { UniDriver } from '@wix/unidriver-core';
export declare const liveRegionDriverFactory: (base: UniDriver) => {
/**
* Checks whether the component found with the given data hook
* @returns {Promise<boolean>}
*/
exists: () => Promise<boolean>;
/**
* Gets the component root element
* @returns {Promise<any>}
*/
element: () => Promise<any>;
/**
* Returns the message
* @returns {Promise<string>}
*/
getMessage: () => Promise<string>;
/**
* Returns the role
* @returns {Promise<string>}
*/
getRole: () => Promise<string | null>;
click: () => Promise<void>;
base: UniDriver;
};
export type LiveRegionUniDriver = ReturnType<typeof liveRegionDriverFactory>;
//# sourceMappingURL=LiveRegion.uni.driver.d.ts.map