on-internet
← Community

Downloading a file in Microsoft Edge through Selenium

Stack Overflow ·

I have to automate a case in which I have to download a file using Selenium WebDriver and cross-browsers. I already did that for Chrome (through ChromeOptions), FF (through FirefoxProfile) and IE11. For example, with Firefox, I use Firefox Profile to suppress the Download Prompt, like this: profile.setPreference("browser.download.dir", "C:\\DownloadCleanup"); profile.setPreference("browser.download.folderList", 2); profile.setPreference("browser.download.manager.showWhenStarting", false); profile.setPreference("browser.helperApps.alwaysAsk.force", false); profile.setPreference("browser.helperA

Comments

Sign in or sign up to comment and upvote.

No comments yet.