"use strict";

exports.__esModule = true;
exports.default = void 0;
var headingDriverFactory = factoryParams => {
  var {
    element
  } = factoryParams;
  return {
    exists: () => !!element,
    getAppearance: () => element.getAttribute('data-appearance'),
    getSize: () => element.getAttribute('data-size'),
    getTagName: () => element.tagName,
    getText: () => element.innerHTML,
    isLight: () => element.getAttribute('data-light') === 'true',
    isMasked: () => element.getAttribute('data-mask') === 'true',
    getId: () => element.getAttribute('data-id')
  };
};
var _default = exports.default = headingDriverFactory;
//# sourceMappingURL=Heading.driver.js.map