"use strict";

exports.__esModule = true;
exports.VideoViewUniDriver = VideoViewUniDriver;
var _unidriver = require("../../../../unidriver");
function VideoViewUniDriver(base, _body) {
  return {
    ...(0, _unidriver.baseUniDriverFactory)(base),
    hasThumbnail: () => base.$('[data-hook="image-thumbnail"]').exists(),
    isEmpty: async () => {
      const thumbnail = base.$('[data-hook="image-thumbnail"]');
      return (await thumbnail.attr('data-empty')) === 'true';
    }
  };
}
//# sourceMappingURL=View.uni.driver.js.map