AngleSharp by AngleSharp

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

 ScriptOptions

public sealed class ScriptOptions
Transport object for running scripts.
public IWindow Context { get; set; }

Gets or sets the context of the document.

public IDocument Document { get; set; }

Gets or sets the assigned document.

public IHtmlScriptElement Element { get; set; }

Gets or sets the script element that triggered the invocation.

public Encoding Encoding { get; set; }

Gets or sets the encoding that has been selected for the script.

public ScriptOptions()