browser_capabilities.js
function getBrowserName(browserCap) {
  var name = browserCap.browserName == 'internet explorer' ?
      'ie' :
      browserCap.browserName;
  var version = browserCap.version || '-latest';
  return name + version;
}
function getBrowserName(browserCap) {
  var name = browserCap.browserName == 'internet explorer' ?
      'ie' :
      browserCap.browserName;
  var version = browserCap.version || '-latest';
  return name + version;
}
function getBrowserName ( browserCap ) { var name = browserCap . browserName == 'internet explorer' ? 'ie' : browserCap . browserName ; var version = browserCap . version || '-latest' ; return name + version ; }
Returns a versioned name for the given capability object.
@param {!Object} browserCap
@return {string}
Returns a versioned name for the given capability object .