2
Answers

Handling annoying JavaScript alerts

Rob

Rob

16y
2.4k
1
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)