UNPKG

@wix/design-system

Version:

@wix/design-system

36 lines 1.45 kB
import { UniDriver } from '@wix/unidriver-core'; declare const splitActionButtonDriverFactory: (base: UniDriver) => { /** Clicks the button */ click: () => Promise<void>; /** Gets the text content of the button */ getText: () => Promise<string>; /** Checks whether the button is disabled */ isDisabled: () => Promise<boolean>; exists: () => Promise<boolean>; element: () => Promise<any>; base: UniDriver; }; export declare const splitActionDriverFactory: (base: UniDriver) => { exists: () => Promise<boolean>; /** Gets the number of buttons */ getButtonCount: () => Promise<number>; /** Returns the driver for the button at the given index */ getButton: (index: number) => { /** Clicks the button */ click: () => Promise<void>; /** Gets the text content of the button */ getText: () => Promise<string>; /** Checks whether the button is disabled */ isDisabled: () => Promise<boolean>; exists: () => Promise<boolean>; element: () => Promise<any>; base: UniDriver; }; element: () => Promise<any>; click: () => Promise<void>; base: UniDriver; }; export type SplitActionButtonUniDriver = ReturnType<typeof splitActionButtonDriverFactory>; export type SplitActionUniDriver = ReturnType<typeof splitActionDriverFactory>; export default splitActionDriverFactory; //# sourceMappingURL=SplitAction.uni.driver.d.ts.map