"use strict";

exports.__esModule = true;
exports.default = SubTitleUniDriver;
var _unidriver = require("../../unidriver");
var _unidriver2 = require("@wix/design-system/dist/testkit/unidriver");
function SubTitleUniDriver(base, body) {
  const getLearnMoreButton = () => (0, _unidriver2.TextButtonUniDriver)(base.$(`[data-hook="subtitle-learn-more-cta"]`), body);
  return {
    getLearnMoreButton,
    getText() {
      return base.$('[data-hook="page-subtitle"]').text();
    },
    getLearnMoreLabel() {
      return getLearnMoreButton().getButtonTextContent();
    },
    getLearnMoreHref() {
      return this.getLearnMoreButton().getHref();
    },
    ...(0, _unidriver.baseUniDriverFactory)(base)
  };
}
//# sourceMappingURL=PageSubTitle.uni.driver.js.map