lib/commands/url.js
function (expected, hash) {
    this.actionQueue.push(this.webdriverClient.getUrl.bind(this.webdriverClient));
    this.actionQueue.push(this._urlCb.bind(this, expected, hash));
    return this;
  }
function (expected, hash) {
    this.actionQueue.push(this.webdriverClient.getUrl.bind(this.webdriverClient));
    this.actionQueue.push(this._urlCb.bind(this, expected, hash));
    return this;
  }
function ( expected , hash ) { this . actionQueue . push ( this . webdriverClient . getUrl . bind ( this . webdriverClient ) ) ; this . actionQueue . push ( this . _urlCb . bind ( this , expected , hash ) ) ; return this ; }
Fetches the current url

@method url
@param {string} expected Expected url
@param {string} hash Unique hash of that fn call
@chainable
Fetches the current url