AngleSharp by Florian Rappl

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

 NodeExtensions

public static class NodeExtensions
Defines a set of extension methods for nodes.
public static int Index<T>(this IEnumerable<T> elements, T item) where T : INode

Gets the index of the given item in the list of elements.

public static string Text<T>(this T element) where T : INode

Gets the content text of the given DOM element.

public static T Text<T>(this T elements, string text) where T : IEnumerable<INode>

Sets the text content of the given elements.