Reading source of a web page created dynamically
Posted on 2016-10-03
I would like to be able to read the contents of a table on a web page.
I can use the WebCient.OpenRead to read the source HTML code. Using FireFox I can view the source and they seem to be identical. So far so good.
Also using Firefox I can inspect an element - the table I want to read. The ID of the table doesn't exist in the source code, in fact no tables exist in the source code of the website. Looking at the source I think there is a frame which is being created dynamically and this frame then has the contents copied and pasted into a div.
In the source from the WebClient.OpenRead I get: <div id="xyz_abc_div"></div>
In the browser (inspect element) I see a load more HTML with the table I want.
Question. How can I get the contents of this dynamically filled div ?