开发者

Download file is blocked using WatiN even after modifying registry settings

开发者 https://www.devze.com 2022-12-28 00:55 出处:网络
I\'m doing an IE auto开发者_如何转开发mation using WatiN. When a file to be downloaded is clicked, I get the following in the Internet Explorer Information bar:

I'm doing an IE auto开发者_如何转开发mation using WatiN.

When a file to be downloaded is clicked, I get the following in the Internet Explorer Information bar:

To help protect your security, Internet Explorer has blocked this site from downloading files to you computer.

I added a registry key to,

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\

then a REG_DWORD value named "http" with value==2 as given in Programmatically add trusted sites to Internet Explorer

but still facing same issues. Can some1 advice on this....


  1. In Internet Explorer, click Tools.
  2. Click Internet Options.
  3. Under the Security tab, click Custom Level.
  4. Scroll to the Downloads section. Then set Automatic prompting for file downloads to Enable.


try setting your security 'zone' to trusted sites, adding the site you're downloading from to your trusted sites, and setting the security level to low. seems to work for me

0

精彩评论

暂无评论...
验证码 换一张
取 消