"use strict";

exports.__esModule = true;
exports.SpecificValuesEditUniDriver = SpecificValuesEditUniDriver;
var _unidriver = require("@wix/design-system/dist/testkit/unidriver");
var _unidriver2 = require("../../../../unidriver");
function SpecificValuesEditUniDriver(base, body) {
  const ac = (0, _unidriver.AutoCompleteUniDriver)(base, body);
  return {
    ...(0, _unidriver2.baseUniDriverFactory)(base),
    keyDown: (key, opts) => ac.inputDriver.keyDown({
      key,
      ...opts
    }),
    blur: () => ac.inputDriver.blur(),
    clickInput: () => ac.inputDriver.click(),
    getValue: () => ac.inputDriver.getValue(),
    selectOption: async id => {
      await ac.driver.selectOptionById(id);
    },
    typeInInput: text => ac.inputDriver.enterText(text),
    getOptionsContent: () => ac.dropdownLayoutDriver.optionsContent()
  };
}
//# sourceMappingURL=SpecificValuesEdit.uni.driver.js.map