I am facing trouble in turning the popup blocker off through watin code. Could anyone please help me in knowing how to turn off the popup blocker of IE through watin? Is there any way to turn off the popup blocker of tool bars (like google, yahoo or msn) if any of them are installed in IE? Thanks for your help in advance.
相关问题
- Getting started with Watin
- Selenium WebDriver does it understand page loads n
- Get browser popup blocker status using JavaScript
- WatiN pressTab doesn't press tab
- Automate of file download in IE 11 using c#
相关文章
- Automate of file download in IE 11 using c#
- Automating the Choose a digital certificate dialog
- WatiN: The CurrentThread needs to have it's Ap
- Functional PDF Testing (Automate Testing of PDF Co
- How to wait for jQuery Ajax requests to complete f
- Click on Save or SaveAs dialog of file download
- How to fill a specific input field with WatiN, whe
- WatiN Compatibility with Windows
You can use .NET to change the registry keys for IE. See http://support.microsoft.com/kb/843016 for more information on the specific keys.
All:
Per Zone:
Per Site:
Here is a code example of writing the registry keys through .NET to get a site into a trusted zone, which allowed WatiN to be able to download a file:
Programmatically add trusted sites to Internet Explorer
You can't disable this with WatiN, you could however use UIAutomation to do it.