Change chrome settings to disable the autosave

Right now, I have been working in the automation of a customer Portal, where I need to download some files. But when I try to download it. The file is saved automatically. I tried to use the Capablity Code for Chrome Driver. (Please find it below) but it doesn’t work. the file continues downloaded with the auto saving. I hope you can help me with this doubt. I’m using the RPA Express version 2.0.3

<robotics-flow>
			<!--Portal Lavante -->
			<robot name="roboticsDriver" driver="chrome"
				close-on-completion="false" start-in-private="true">
				<capability name="ChromeOptions">
					<script return="chromeArgs"><![CDATA[
						import java.util.Hashtable;
						import org.openqa.selenium.remote.DesiredCapabilities;
						import org.openqa.selenium.chrome.ChromeOptions;
						ChromeOptions options = new ChromeOptions();
						options.addArguments("--disable-notifications");
						Map<String, Object> chromePrefs = new Hashtable<String, Object>();
						chromePrefs.put("profile.default_content_settings.popups", 0);
						chromePrefs.put("download.prompt_for_download", true);
						options.setExperimentalOption("prefs", chromePrefs);
						options.addArguments("disable-infobars");
						chromeArgs = options;
					]]></script>
				</capability>

Hi @davila_ma_1a how do you download the file? Can you share the code?

I already sent it to you!