lib/commands/cookie.js
function (name, contents, hash) {
    this.actionQueue.push(this.webdriverClient.setCookie.bind(this.webdriverClient, {name: name, value: contents}));
    this.actionQueue.push(this._setCookieCb.bind(this, name, contents, hash));
    return this;
  }
function (name, contents, hash) {
    this.actionQueue.push(this.webdriverClient.setCookie.bind(this.webdriverClient, {name: name, value: contents}));
    this.actionQueue.push(this._setCookieCb.bind(this, name, contents, hash));
    return this;
  }
function ( name , contents , hash ) { this . actionQueue . push ( this . webdriverClient . setCookie . bind ( this . webdriverClient , { name : name , value : contents } ) ) ; this . actionQueue . push ( this . _setCookieCb . bind ( this , name , contents , hash ) ) ; return this ; }
Sets an cookie

@method setCookie
@param {string} name Name of the cookie
@param {string} contents Contents of the cookie
@param {string} hash Unique hash of that fn call
@chainable
Sets an cookie