Can I wait for a webbrowser to finish navigating, using a for loop?
I have a for loop:
for (i = 0; i <= 21; i++)
{
webB.Navigate(URL);
}
webB is a webBrowser control and i is an int.
I want to wait for the browser to finish navigating.
I found this, however:
I don't want to use any APIs or addins
I can't use another void function, as suggested in this answer
Is there a way to wait while in a for loop?
No comments:
Post a Comment