code: def extract_platform(value)
        platform = value.to_s.split('|')[1] if value.to_s.include? '|'
        sauce_platforms
        @sauce_platforms[platform] if not platform.nil?
      end
docs: Extracts platform from browser string
  
   @example
     extract_platform(:'safari5|linux|iphone') will extract
   browser = safari
  
   @param  [String] the browser string passed into the method
   @return [String] the platform value