Browser.download.folderlist 2 Link
The configuration preference browser.download.folderList is a critical setting within Mozilla Firefox's internal configuration (accessed via about:config ) that dictates how the browser handles download locations. Setting this value to specifically instructs Firefox to use a custom download directory rather than default system folders or the last used location.
When you modify this preference, you are choosing between three primary behaviors: : Saves all downloads directly to the user's desktop. browser.download.folderlist 2
: When running browsers on servers (headless mode) where no "Desktop" or standard "Downloads" folder may exist. The configuration preference browser
In automated testing, you cannot manually interact with the "Save As" dialog box. Therefore, you must pre-configure a FirefoxProfile or FirefoxOptions to bypass these prompts and route files to a known directory. browser.download.folderlist 2