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