Class TextOptions
- Namespace
- Xping.Sdk.Validations.TextUtils
- Assembly
- Xping.Sdk.dll
Encapsulates options for text matching in HTML element location. This class provides configuration for text-based queries, allowing for precise or flexible matching criteria.
public record TextOptions : IEquatable<TextOptions>- Inheritance
- 
      
      TextOptions
- Implements
- Inherited Members
Constructors
TextOptions(bool, bool)
Encapsulates options for text matching in HTML element location. This class provides configuration for text-based queries, allowing for precise or flexible matching criteria.
public TextOptions(bool MatchWholeWord = false, bool MatchCase = false)Parameters
Properties
MatchCase
Indicates whether to perform a case-sensitive comparison. The default value is false.
public bool MatchCase { get; init; }Property Value
MatchWholeWord
Indicates whether to perform a whole word match of the text. The default value is false.
public bool MatchWholeWord { get; init; }Property Value
Methods
ToString()
Returns a string that represents the current TextOptions object.
public override string ToString()Returns
- string
- A string that represents the current object.