Customize Chrome webdriver using selenium to save files without prompting to save or discard files when downloading

℡╲_俬逩灬. 提交于 2019-12-04 16:13:54

From what I understand, there is no way to tell Chrome not to warn on potentially dangerous binary file downloads, see:

As the simplest workaround, you might want to approach the problem with Firefox:

Also there have been numerous requests from dev community to allow to disable this warning to be able to run automated tests in Chrome. At the moment this is the only reason we're running our automated tests in Firefox only. Really annoying.

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