PhantomJS .NET wrapper NuGet Package

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.




Got any PhantomJS .NET wrapper Question?





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)

.NETFramework 4.0 netstandard1.5 3 packages depend on this package.


Tags



STATS

must-have-score

2.7

avg-downloads-per-day

135

days-since-last-release

567