0

I was wondering if there was some type of library (preferably for .NET) that allows a web page downloaded (for instance, using HttpWebResponse) that can evaluate javascript variables and evaluate and parse javascript procedures.

3 Answers 3

2

Check out Awesomium. .NET + webkit (chrome rendering engine). From the website:

Javascript Integration Execute arbitrary Javascript, invoke C++ callbacks from Javascript, pass arrays, objects, and other types to/from a page, and more!


Sorry, its not specifically WPF. Chris Cavanagh ported it, but you can use awesomium from your .net code.

Sign up to request clarification or add additional context in comments.

1 Comment

The website is pretty awesome :D
1

Jint is an open-source Javascript interpreter for .NET. You can run Javascript code within your application, and exchange object for doing automation for instance.

You can even define a DHTML object model and pass it as an argument if you want to simulate a browser.

Comments

0

It will require some work, but it should be possible to accomplished using ECMAScript.NET.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.