IF course, any kinds of delay for a fixed amount of times are completely pointless, not just slow.
It looks like you need to handle the event
System.Windows.Forms.WebBrowser.DocumentCompleted
:
http://msdn.microsoft.com/en-us/library/system.windows.forms.webbrowser.documentcompleted.aspx[
^].
Alternatively, to get the same effect, override the virtual method
System.Windows.Forms.WebBrowser.OnDocumentCompleted
:
http://msdn.microsoft.com/en-us/library/system.windows.forms.webbrowser.ondocumentcompleted.aspx[
^].
"After navigation" may be not what you want (but of course, there is an appropriate event you can handle), because it is invoked at the moment of time when a document only starts to load.
—SA