From time to time (without any pattern we can understand), when using the following code, the HttpStatusCode is 0:
Quote:var navigation = webView.LoadUrl(url);
navigation.WaitOne(10*1000);
var scode = navigation.HttpStatusCode; //THIS is 0 from time to time...
However, the website is loaded (before the 10 secs timeout), and we can access its data:
Quote:var content = webView.EvalScript("document.documentElement.outerHTML", false). //THIS works even if the status is 0...
Since this is our website, we know that the loading time is about 500ms (not even close to 10 secs).
Any idea what could be the problem?