code: function getInternetExplorerExe () {
    var suffix = path.join('Internet Explorer', PROCESS_NAME)
    var locations = _.map(_.compact([
      process.env['PROGRAMW6432'],
      process.env['PROGRAMFILES(X86)'],
      process.env['PROGRAMFILES']
    ]), function (prefix) {
      return path.join(prefix, suffix)
    })
  
    return _.find(locations, function (location) {
      return fs.existsSync(location)
    })
  }
docs: Find the ie executable