I am using the .NET WebBrowser control to automate some web tasks, however now and again the website I am visiting will produce a dialogue box with a YES/NO button that I need to press.
The dialogue is popped up using a Javascript modal window. I need the WebBrowser to detect a Javascript modal popup, get the source of the popup to define the response to give, and then click one of the buttons.
Can this be achieved?