Info
| Version: | 1.1.0 | 
| Author(s): | Vitalii Fedorchenko | 
| Last Update: | Thursday, May 4, 2023 | 
| .NET Fiddle: | Create the first Fiddle | 
| Project Url: | https://www.nrecosite.com/phantomjs_wrapper_net.aspx | 
| NuGet Url: | https://www.nuget.org/packages/NReco.PhantomJS | 
Install
Install-Package NReco.PhantomJS
                        dotnet add package NReco.PhantomJS
                        paket add NReco.PhantomJS
                        
                                NReco.PhantomJS Download (Unzip the "nupkg" after downloading)
                            
                        Dependencies
                                         .NETFramework 4.0 
                                        
                    - PhantomJS(>= 2.1.1)
 
- NETStandard.Library(>= 1.6.0)
 - System.Diagnostics.Process(>= 4.1.0)
 - System.Threading.Thread(>= 4.0.0)
 - System.Reflection(>= 4.1.0)
 - System.Reflection.Primitives(>= 4.0.1)
 - System.Security.Cryptography.Algorithms(>= 4.2.0)
 - System.Security.Cryptography.Csp(>= 4.0.0)
 - System.Security.Cryptography.Cng(>= 4.2.0)
 
Tags
                
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.