NReco.PhantomJS is a .NET wrapper for running PhantomJS (headless WebKit browser) from C#/.NET code. PhantomJS is a headless WebKit scriptable with a JavaScript API. It has fast and native support for various web standards: DOM handling, CSS selector, JSON, Canvas, and SVG. How to use: var phantomJS = new PhantomJS(); phantomJS.OutputReceived += (sender, e) => { Console.WriteLine("PhantomJS output: {0}", e.Data); }; phantomJS.RunScript("console.log('hello from js '); phantom.exit();", null); More info (online demo, examples): https://www.nrecosite.com/phantomjs_wrapper_net.aspx
$ dotnet add package NReco.PhantomJSNo README available.