lib/commands/element.js
function (selector, hash, uuid) {
    var deferred = Q.defer();
    this.events.emit('driver:message', {key: 'submit', value: selector, uuid: uuid, hash: hash});
    deferred.resolve();
    return deferred.promise;
  }
function (selector, hash, uuid) {
    var deferred = Q.defer();
    this.events.emit('driver:message', {key: 'submit', value: selector, uuid: uuid, hash: hash});
    deferred.resolve();
    return deferred.promise;
  }
function ( selector , hash , uuid ) { var deferred = Q . defer ( ) ; this . events . emit ( 'driver:message' , { key : 'submit' , value : selector , uuid : uuid , hash : hash } ) ; deferred . resolve ( ) ; return deferred . promise ; }
Sends out an event with the results of the `submit` call

@method _submitCb
@param {string} selector Selector expression to find the element
@param {string} hash Unique hash of that fn call
@param {string} uuid Unique hash of that fn call
@return {object} promise Click promise
@private
Sends out an event with the results of the submit call