Programmatically add trusted sites to Internet Explorer

后端 未结 7 1941
星月不相逢
星月不相逢 2020-11-29 06:42

I\'m doing an IE automation project using WatiN.

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

7条回答
  •  借酒劲吻你
    2020-11-29 07:23

    Have a look at this

    Basically it looks as if all you have to do is create registry key in

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

    then a REG_DWORD value named "http" with value==2

提交回复
热议问题