Note that there are some explanatory texts on larger screens.

plurals
  1. USEwan
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. COJust to add, this a great example but the answer for me was to use _memoryWebBrowser.Document.Body.OuterHtml; instead of _memoryWebBrowser.DocumentText; That was only a 1 line change in my existing code and then I was able to comment out my _memoryWebBrowser.Refresh(); This achieved my final goal perfectly as I am loading the web page once and then without refreshing the page, I am checking the content which changes dynamically. The WebBrowser overhead is no a concern as it only happens once. The efficiency within my loop is more important i.e. not using Refresh or GetResponse() to reload.
      singulars
    2. COThis works very well and I agree there is an overhead in using WebBrowser. That overhead affects my windows form though which doesn't worry me. The only small problem though is that the request.GetResponse(); in this solution loads the whole web page again. It's the same as the .Refresh(); in my solution which I'd like to avoid doing every 30 seconds. Really it is the content that I want to check as it changes dynamically. 90% of the web page is static and so I don't want to reload it every time. Is there a way to do one load of the web page and then check the changing content only?
      singulars
    3. COI have now commented out my refresh //_memoryWebBrowser.Refresh(); and it still works perfectly which proves that this is loading the page once and then finding the changes without refreshing or reloading the page. Thanks again!
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload