lib/commands/element.js
function (selector, options, hash, uuid) {
    this.actionQueue.push(this.webdriverClient.element.bind(this.webdriverClient, selector, options));
    this.actionQueue.push(this.webdriverClient.scroll.bind(this.webdriverClient));
    this.actionQueue.push(this._clickCb.bind(this, selector, options, hash, uuid));
    return this;
  }
function (selector, options, hash, uuid) {
    this.actionQueue.push(this.webdriverClient.element.bind(this.webdriverClient, selector, options));
    this.actionQueue.push(this.webdriverClient.scroll.bind(this.webdriverClient));
    this.actionQueue.push(this._clickCb.bind(this, selector, options, hash, uuid));
    return this;
  }
function ( selector , options , hash , uuid ) { this . actionQueue . push ( this . webdriverClient . element . bind ( this . webdriverClient , selector , options ) ) ; this . actionQueue . push ( this . webdriverClient . scroll . bind ( this . webdriverClient ) ) ; this . actionQueue . push ( this . _clickCb . bind ( this , selector , options , hash , uuid ) ) ; return this ; }
Scrolls from an element to a location defined in pixels

@method scroll
@param {string} selector Selector expression to find the element
@param {object} options X offset, Y offset, Speed
@param {string} hash Unique hash of that fn call
@param {string} uuid Unique hash of that fn call
@chainable
Scrolls from an element to a location defined in pixels