The showDirectoryPicker() method of the Window interface displays a directory picker which allows the user to select a directory.| MDN Web Docs