async _findOrCreateDevice(deviceQuery) {
    let udid;

    const { free, taken } = await this._groupDevicesByStatus(deviceQuery);

    if (_.isEmpty(free)) {
      const prototypeDevice = taken[0];
      udid = this._applesimutils.create(prototypeDevice);
      await this._runScreenshotWorkaround(udid);
    } else {
      udid = free[0].udid;
    }

    return udid;
  }
@private
@param {SimulatorQuery} deviceQuery
@returns {Promise<String>}