I need to set a unique download directory for a specific profile in Google Chrome, not manually, but through the command line or in another way. ChromeOptions I used: options.add_argument('--allow-profiles-outside-user-dir') options.add_argument('--enable-profile-shortcut-manager') options.add_argument(rf'user-data-dir=C:\User') options.add_argument('--profile-directory=Profile 1') options.add_argument('ignore-certificate-errors') I tried to write the script myself, but nothing worked. I didn’t find the required line with the download directory in the chrome preferences file. Maybe I was looking in the wrong place. Also I tried options.add_argument(f"download.default_directory={download_path}") but that didn't work either. Example script: @echo off "C:\Program Files\Google\Chrome\Application\chrome.exe" --user-data-dir="C:\Path\To\Your\Custom\Profile" --download.default_directory="C:\Path\To\Your\Download\Directory" Continue reading...