AngleSharp by Florian Rappl

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

.NET API 1,168,384 bytes

 ISelector

public interface ISelector
Represents a CSS selector for matching elements. More information: http://dev.w3.org/csswg/selectors4/

Gets the specifity of the given selector.

string Text { get; }

Gets the string representation of the selector.

bool Match(IElement element)

Determines if the given object is matched by this selector.