-
1 Attachment(s)
innerhtml error
Attachment 112723
I'm currently trying to automate getting data from a website for work using vb.net. Using the webbrowser, I get the error shown when I open a specific page. Anyone any idea why? When I use IE it works fine and no error appears but the automation is important. Alternatively, anyone know how to click on "yes" because then the program continues and does exactly what it should do.
Many thanks:confused:
-
Re: innerhtml error
-
Re: innerhtml error
As Vexslasher pointed out, you can set .ScriptErrorsSupressed to True. Keep in mind that it is suppressing dialog boxes, but the behavior is such that if IE were to normally show a security dialog while .ScriptErrorsSupressed is true, IE it will automatically cancel the web page navigation.