"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.default = void 0;
var _deprecationTestkitLog = _interopRequireDefault(require("../utils/deprecationTestkitLog"));
var highlighterDriverFactory = _ref => {
  var {
    element
  } = _ref;
  (0, _deprecationTestkitLog.default)('highlighterTestkitFactory legacy testkit is deprecated and will be removed in next major release. Please use the HighlighterTestkit unidriver testkit instead.');
  return {
    exists: () => !!element,
    html: () => element.innerHTML,
    getElement: () => element
  };
};
var _default = exports.default = highlighterDriverFactory;
//# sourceMappingURL=Highlighter.driver.js.map