code: function (name, contents, hash) {
      var deferred = Q.defer();
      this.events.emit('driver:message', {key: 'setCookie', value: name, contents: contents, uuid: hash, hash: hash});
      deferred.resolve();
      return deferred.promise;
    }
docs: Sends out an event with the results of the `setCookie` call
  
  @method _setCookieCb
  @param {string} name Name of the cookie
  @param {string} contents Contents of the cookie
  @param {string} hash Unique hash of that fn call
  @return {object} promise Exists promise
  @private