How to deal with JavaScript when trying to fetch web page in C#.NET/WPF?

Posted by Jeff Dahmer on Stack Overflow See other posts from Stack Overflow or by Jeff Dahmer
Published on 2010-04-03T10:03:22Z Indexed on 2010/04/03 10:13 UTC
Read the original article Hit count: 274

Filed under:
|
|
|
|

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.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET