Skip to content

Type Alias: TextMatcher

@termwright/driver/experimental


@termwright/driver/experimental / TextMatcher

TextMatcher = { kind: "exact"; text: string; } | { kind: "substring"; text: string; } | { kind: "regex"; source: RegExp; }

Defined in: selectors.ts:15

How a piece of text is compared.