TextMatchOptions
Namespace: E2E
public class TextMatchOptionsOptions shared by the text-matching queries.
Inheritance: object
Derived: RoleOptions
Properties
Section titled “Properties”public bool Exact { get; init; }Exact match, the default. false is a case-insensitive substring. A Regex ignores it.
Value: bool
Visible
Section titled “Visible”public bool Visible { get; init; }Drops nodes the platform reports as hidden before the exactly-one rule,
so a visible node with a hidden twin still resolves. On the web, hidden is
what renders: display: none, a visibility other than
visible, and content under content-visibility: hidden or a
closed details; a child that sets visibility: visible under a
hidden parent is visible, and an aria-hidden node that paints is visible.
Role queries never match hidden or aria-hidden nodes, whatever this says.
Value: bool