Handling annoying JavaScript alerts
I'm working on a web browser automation project. I'm using the .NET WebBrowser object for all of this. Certain pages have a JavaScript alert popup when the page is loaded. This stops the program until someone physically clicks on ok or closes the Alert. I've tried DestroyWindow, GetLastActivePopup, closeWindow and SendKeys but no luck. What else can I do??????