如何使用IE更改默认下载目录(Internet Explorer 11) [英] How to change the default download directory with IE (Internet Explorer 11)

查看:127
本文介绍了如何使用IE更改默认下载目录(Internet Explorer 11)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在这篇文章中,我看到了为Chrome和Firefox设置下载目录的解决方案
如何在使用chrome driver / firefox驱动程序时更改Webdriver中的文件下载位置

In this post I see the solutions for setting the download directories for Chrome and Firefox how to change file download location in Webdriver while using chrome driver/firefox driver

这些对我来说非常完美(已接受的答案),但是搜索我无法找到有关使用Internet Explorer 11执行此操作的任何信息。有谁知道我在哪里可以找到此信息?

These worked perfect for me (the accepted answer that is), however searching around I cannot find any information on doing this with Internet Explorer 11. Does anyone know where I can find this information?

推荐答案

根据这个答案来自Jim Evans,他大量参与Internet Explorer的WebDriver,这是不可能的:

According to this answer from Jim Evans, who is heavily involved with WebDriver for Internet Explorer, this isn't possible:


Internet Explorer不使用配置文件。这是
浏览器本身的限制,而不是IE驱动程序。因此,
无法通过Internet
资源管理器自动将文件下载到指定位置

另外:


据我所知,Microsoft Edge
和关于使用配置文件的Internet Explorer。该个人资料是
仍然与Windows中的登录用户帐户相关联。

所以从某种意义上说,目录已经指定。关键是你不能通过WebDriver覆盖它。

So, in a sense, the directory already is specified. The point is that you can't override it via WebDriver.

这篇关于如何使用IE更改默认下载目录(Internet Explorer 11)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆