How to deal with JavaScript when trying to fetch web page in C#.NET/WPF?
- by Jeff Dahmer
The .NET WebClient class is nice and all, but it doesn't parse the JavaScript in the page.
What I mean is, sometimes a page is forwarded to a different page via JavaScript, or sometimes DOM elements get added to the page via JavaScript with an onload event. I need to deal with both of these situations.
What can I do to deal with this? I'm using WPF if that matters.