import { baseUniDriverFactory } from '../../../utils/test-utils/unidriver';
import { DATA_HOOKS } from './Header.constants';
export const headerUniDriverFactory = (base) => {
    const title = base.$(`[data-hook="${DATA_HOOKS.title}"]`);
    const subtitle = base.$(`[data-hook="${DATA_HOOKS.subtitle}"]`);
    return {
        ...baseUniDriverFactory(base),
        /** Returns title text. */
        title: () => title.text(),
        /** Returns subtitle text. */
        subtitle: () => subtitle.text(),
    };
};
//# sourceMappingURL=Header.uni.driver.js.map