Have been working on automating file downloads using Selenium WebDriver with ChromeDriver in Java.
My code was working perfectly until I updated to ChromeDriver version 121+, the code worked fine till Chrome 119, problem seems to start in Chrome 121.0.6167.140
. Now, it seems that the browser is forcing the "Save As" dialog box to appear, even when I have set Chrome preferences to avoid it.
Also I want to execute test cases in incognito mode only
This is also not working.
options.addArguments("disable-features=DownloadBubble,DownloadBubbleV2");