Rob

Rob

  • NA
  • 3
  • 0

Handling annoying JavaScript alerts

Oct 13 2008 8:12 PM
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??????

Answers (2)