UNPKG

@wix/design-system

Version:

@wix/design-system

15 lines 644 B
import type { UniDriver } from '@wix/wix-ui-test-utils/unidriver'; export declare const topBannerDriverFactory: (base: UniDriver) => { /** Gets the content of top banner. */ getContent: () => Promise<string>; /** Checks if the dismiss button exists. */ hasDismissButton: () => Promise<boolean>; /** Clicks the dismiss button */ clickDismissButton: () => Promise<void>; exists: () => Promise<boolean>; element: () => Promise<any>; click: () => Promise<void>; base: UniDriver; }; export type TopBannerUniDriver = ReturnType<typeof topBannerDriverFactory>; //# sourceMappingURL=TopBanner.uni.driver.d.ts.map