lib/commands/cookie.js
function (name, cookie, hash) {
    this.actionQueue.push(this.webdriverClient.getCookie.bind(this.webdriverClient, name));
    this.actionQueue.push(this._cookieCb.bind(this, name, hash));
    return this;
  }
function (name, cookie, hash) {
    this.actionQueue.push(this.webdriverClient.getCookie.bind(this.webdriverClient, name));
    this.actionQueue.push(this._cookieCb.bind(this, name, hash));
    return this;
  }
function ( name , cookie , hash ) { this . actionQueue . push ( this . webdriverClient . getCookie . bind ( this . webdriverClient , name ) ) ; this . actionQueue . push ( this . _cookieCb . bind ( this , name , hash ) ) ; return this ; }
Retrieves an cookie

@method cookie
@param {string} name Name of the cookie
@param {string} cookie Expected contents of the cookie
@param {string} hash Unique hash of that fn call
@chainable
Retrieves an cookie