I want to pause the execution of my thread until a particular div has been loaded via ajax into a WebBrowser instance. Obviously I can continuously check for the presence of thi
You can find a text into body for example:
while (HtmlWindow.Document.Body.InnerHtml.Contains(some_text) == false) { Application.DoEvents(); Thread.Sleep(200); }