I have a list of urls which i need to parse and dump data from. The pages require ajax and i require the DOM (and not html) to parse correctly. So i am using a webbrowser control. How do i iterator through a list and parse each page? I am writing
for(int i=0; i<pageList.Count; i++)
{
webBrowser1.Navigate(pageList[i]);
//but i need to wait until the page is done loading
//wait for the AJAX to finish
//allow the JS to run
parsePage();
}