When I try to download a file from Edge in IE mode, I get a confirmation message for this download and I don't know how to overcome it, it doesn't allow me to accept commands like ALT + G, it doesn't matter if the file is, since what would matter is overcome this step of accepting (Save) or, failing that, some configuration that allows downloading without this message.
from selenium import webdriver
driver = webdriver.Ie(service=Service(executable_path="C:\IEDriverServer_Win32_4.14.0\IEDriverServer.exe"))
driver.get("https://www.winrar.es/descargas")
driver.find_element(By.XPATH, "//*[contains(text(),"Descargue WinRAR ahora")]").click()
I already tried sending
actions = ActionChains(driver)
actions.key_down(Keys.ALT).send_keys('g').key_up(Keys.ALT).perform()
but it doesn't work, just like sending it directly through js and neither
I'm afraid you can't interact with the download popup using only Selenium commands. Selenium can't handle this popup. You need to take a look at tools like AutoIT to handle this popup.
If you want to simply skip this popup, you can try Wget: