Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 98784

ChromeDriver Version 121+ Forces "Save As" Dialog - How to Bypass? (Selenium/Java)

$
0
0

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");

Viewing all articles
Browse latest Browse all 98784

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>