lib/commands/page.js
function (expected, hash) {
    this.actionQueue.push(this.webdriverClient.title.bind(this.webdriverClient));
    this.actionQueue.push(this._titleCb.bind(this, expected, hash));
    return this;
  }
function (expected, hash) {
    this.actionQueue.push(this.webdriverClient.title.bind(this.webdriverClient));
    this.actionQueue.push(this._titleCb.bind(this, expected, hash));
    return this;
  }
function ( expected , hash ) { this . actionQueue . push ( this . webdriverClient . title . bind ( this . webdriverClient ) ) ; this . actionQueue . push ( this . _titleCb . bind ( this , expected , hash ) ) ; return this ; }
Checks the document title of a page

@method title
@param {string} expected Expected page title
@param {string} hash Unique hash of that fn call
@chainable
Checks the document title of a page