I want to scrape webpages with dynamically loaded content. As a user browsing this webpage, I have to click on an HTML element before the content of interest is dynamically loaded into the page.
I know how to retrieve the initial HTML programmatically from the server, but how can I issue a browser-like click programmatically, and execute any appropriate javascript, so as to get access to the dynamic content?
Do I need to host a browser control inside my scraping app somehow?
Any language would work for me but C++/C# preferred.
Thanks.