How to spcify the download location for IE11 and edge browsers using Selenium bindings

六眼飞鱼酱① 提交于 2019-12-13 02:07:38

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!