Trying to use the code below to download a file at an exact location every time. It just downloads to the default downloads folder. Are there any other chrome options that will solve this issue?
ChromeOptions chromeOptions = new ChromeOptions();
chromeOptions.AddUserProfilePreference("download.prompt_for_download", false);
chromeOptions.AddUserProfilePreference("download.directory_upgrade", true);
chromeOptions.AddUserProfilePreference("download.default_directory", MyLocation);
driver = new ChromeDriver(service, chromeOptions);