lib/commands/execute.js
function (script, args, hash) {
    this.actionQueue.push(this.webdriverClient.execute.bind(this.webdriverClient, {script: script.toString(), arguments: args}));
    this.actionQueue.push(this._setExecuteCb.bind(this, script.toString(), args, hash));
    return this;
  }
function (script, args, hash) {
    this.actionQueue.push(this.webdriverClient.execute.bind(this.webdriverClient, {script: script.toString(), arguments: args}));
    this.actionQueue.push(this._setExecuteCb.bind(this, script.toString(), args, hash));
    return this;
  }
function ( script , args , hash ) { this . actionQueue . push ( this . webdriverClient . execute . bind ( this . webdriverClient , { script : script . toString ( ) , arguments : args } ) ) ; this . actionQueue . push ( this . _setExecuteCb . bind ( this , script . toString ( ) , args , hash ) ) ; return this ; }
Executes a JavaScript function

@method execute
@param {function} script Script to execute
@param {array} args Arguments to pass to the function
@param {string} hash Unique hash of that fn call
@chainable
Executes a JavaScript function