Skip to content

Jint.Browser ​

Jint.Browser is a headless browser for .NET built from Jint.HtmlParser and Jint. The native parser supplies the tree and markup/CSS parsing; Jint runs the document's JavaScript. The package adds navigation, an event loop, network and storage state, input, extraction, and automation seams.

It runs in-process and has no browser binary to install. It also does not render: there are no pixels, screenshots, PDFs, or browser windows.

bash
dotnet add package Jint.Browser

View Jint.Browser on NuGet.org

With using Jint.Browser; in scope:

csharp
await using var browser = new Browser();
var page = await browser.NewPageAsync();

await page.NavigateAsync("https://example.org/");
Console.WriteLine(await page.MarkdownAsync());

The package targets .NET 8 and later. The Browser library does not declare general trimming or AOT compatibility; the closed browser tool is verified separately.

Choose a topic ​