Hi Stephen, first, the Edge download popup is outside the DOM, so Selenium can’t dismiss it directly. Disabling it with --disable-features=DownloadBubble used to work, but this flag is deprecated in recent Edge versions. Second, configure Edge to auto-download without showing the bubble by setting preferences like download.default_directory, download.prompt_for_download = false, and profile.default_content_settings.popups = 0 in EdgeOptions. Third, if the popup still appears, try running Edge in headless or kiosk mode using --headless=new and --disable-popup-blocking to suppress UI overlays. Last, if you need full UI but want Selenium to ignore the popup, switch focus back to the main window with driver.SwitchTo().Window(driver.CurrentWindowHandle) or use JavaScript to click on the page body with ((IJavaScriptExecutor)driver).ExecuteScript("document.body.click();");.
If this helps, please mark the answer as accepted so others can find it too.
-Carl