lib/browser.js
function (browser) {
    var isValid = this.platforms.reduce(function (previousValue, platform) {
      if (previousValue === browser.platform || platform === browser.platform) {
        return browser.platform;
      }
    });

    return isValid || this.desiredCapabilities.platform;
  }
function (browser) {
    var isValid = this.platforms.reduce(function (previousValue, platform) {
      if (previousValue === browser.platform || platform === browser.platform) {
        return browser.platform;
      }
    });

    return isValid || this.desiredCapabilities.platform;
  }
function ( browser ) { var isValid = this . platforms . reduce ( function ( previousValue , platform ) { if ( previousValue === browser . platform || platform === browser . platform ) { return browser . platform ; } } ) ; return isValid || this . desiredCapabilities . platform ; }
Verfies the OS platform config

@method _verfiyPlatformConfig
@param {object} browser Browser information
@return {string} Platform
@private
Verfies the OS platform config