问题
Selenium C# bindings have the ability to specify the chrome download location:
var options = new ChromeOptions().AddUserProfilePreference("download.default_directory", "D:\Downloads");
Does any appropriate realization exist for Edge & IE11?
回答1:
IE does not use profiles.As such, there is no way to automatically download files to a specified location with Internet Explorer.
来源:https://stackoverflow.com/questions/50007004/how-to-spcify-the-download-location-for-ie11-and-edge-browsers-using-selenium-bi