lib/commands/screenshot.js
function (pathname) {
    pathname = pathname.replace(':browser', this.browserName);
    pathname = pathname.replace(':version', this._parseBrowserVersion(this.sessionStatus.version));
    pathname = pathname.replace(':timestamp', Math.round(new Date().getTime() / 1000));
    pathname = pathname.replace(':osVersion', this._parseOSVersion(this.driverStatus.os.version));
    pathname = pathname.replace(':os', this._parseOS(this.driverStatus.os.name));
    pathname = pathname.replace(':datetime', this._parseDatetime());
    pathname = pathname.replace(':date', this._parseDate());
    pathname = pathname.replace(':viewport', this._parseViewport());
    return pathname;
  }
function (pathname) {
    pathname = pathname.replace(':browser', this.browserName);
    pathname = pathname.replace(':version', this._parseBrowserVersion(this.sessionStatus.version));
    pathname = pathname.replace(':timestamp', Math.round(new Date().getTime() / 1000));
    pathname = pathname.replace(':osVersion', this._parseOSVersion(this.driverStatus.os.version));
    pathname = pathname.replace(':os', this._parseOS(this.driverStatus.os.name));
    pathname = pathname.replace(':datetime', this._parseDatetime());
    pathname = pathname.replace(':date', this._parseDate());
    pathname = pathname.replace(':viewport', this._parseViewport());
    return pathname;
  }
function ( pathname ) { pathname = pathname . replace ( ':browser' , this . browserName ) ; pathname = pathname . replace ( ':version' , this . _parseBrowserVersion ( this . sessionStatus . version ) ) ; pathname = pathname . replace ( ':timestamp' , Math . round ( new Date ( ) . getTime ( ) / 1000 ) ) ; pathname = pathname . replace ( ':osVersion' , this . _parseOSVersion ( this . driverStatus . os . version ) ) ; pathname = pathname . replace ( ':os' , this . _parseOS ( this . driverStatus . os . name ) ) ; pathname = pathname . replace ( ':datetime' , this . _parseDatetime ( ) ) ; pathname = pathname . replace ( ':date' , this . _parseDate ( ) ) ; pathname = pathname . replace ( ':viewport' , this . _parseViewport ( ) ) ; return pathname ; }
Return the formatted os name

@method _parseOS
@param {string} Pathname
@return {string} Formatted pathname
@private
Return the formatted os name