import { baseUniDriverFactory } from '../utils/test-utils/unidriver';
import { buttonDriverFactory } from '../Button/Button.uni.driver';
export const selectorButtonDriverFactory = (base) => {
    const buttonDriver = buttonDriverFactory(base);
    return {
        ...baseUniDriverFactory(base),
        /** Gets button text */
        getButtonTextContent: () => buttonDriver.getButtonTextContent(),
        /** Checks whether button is focused */
        isFocused: () => buttonDriver.isFocused(),
        /** Checks whether button is disabled */
        isDisabled: () => buttonDriver.isButtonDisabled(),
        /** Checks whether button has suffix */
        hasSuffix: () => buttonDriver.isSuffixIconExists(),
    };
};
//# sourceMappingURL=SelectorButton.uni.driver.js.map