AngleSharp by Florian Rappl

<PackageReference Include="AngleSharp" Version="0.8.4.1" />

 BrowsingContext

public sealed class BrowsingContext : IBrowsingContext
A simple and lightweight browsing context.
public IDocument Active { get; }

Gets the currently active document.

public IConfiguration Configuration { get; }

Gets the configuration for the browsing context.

public IDocument Creator { get; }

Gets the document that created the current context, if any. The creator is the active document of the parent at the time of creation.

public IWindow Current { get; }

Gets the current window proxy.

public IDocumentLoader Loader { get; }

Gets the assigned document loader, if any.

public IBrowsingContext Parent { get; }

Gets the parent of the current context, if any. If a parent is available, then the current context contains only embedded documents.

public Sandboxes Security { get; }

Gets the sandboxing flag of the context.

public IHistory SessionHistory { get; }

Gets the session history of the given browsing context, if any.

public static IBrowsingContext New(IConfiguration configuration = null)

Creates a new browsing context with the given configuration, or the default configuration, if no configuration is provided.

public void NavigateTo(IDocument document)

Navigates to the given document. Includes the document in the session history and sets it as the active document.