I am writing a program to auto login to a website. But when password is wrong a dialog box appears.
I am not able to quit the Internet explorer. How to access the dialog box and if possible access the DOM
of the dialog box
Printable View
I am writing a program to auto login to a website. But when password is wrong a dialog box appears.
I am not able to quit the Internet explorer. How to access the dialog box and if possible access the DOM
of the dialog box
You can detect and intercept the dialog using a combination of Win32 APIs and Active Accessibilty.
There is no way to access the DOM of the dialog box?
If it were in your process, it would be possible, but's it's not in your process. You can inject a dll into the browser's process space (i.e. write a browser add-on) and possibly access the DOM.
However, what I described earlier allows you to access the dialog using existing APIs that don't required a browser add-on.