Class LocatorAssertionsToContainTextOptions
- Namespace
- Microsoft.Playwright
- Assembly
- Microsoft.Playwright.dll
public class LocatorAssertionsToContainTextOptions
- Inheritance
-
LocatorAssertionsToContainTextOptions
- Inherited Members
Constructors
LocatorAssertionsToContainTextOptions()
public LocatorAssertionsToContainTextOptions()
LocatorAssertionsToContainTextOptions(LocatorAssertionsToContainTextOptions)
public LocatorAssertionsToContainTextOptions(LocatorAssertionsToContainTextOptions clone)
Parameters
Properties
IgnoreCase
Whether to perform case-insensitive match. ignoreCase
option
takes precedence over the corresponding regular expression flag if specified.
[JsonPropertyName("ignoreCase")]
public bool? IgnoreCase { get; set; }
Property Value
- bool?
Timeout
Time to retry the assertion for in milliseconds. Defaults to 5000
.
[JsonPropertyName("timeout")]
public float? Timeout { get; set; }
Property Value
UseInnerText
Whether to use element.innerText
instead of element.textContent
when
retrieving DOM node text.
[JsonPropertyName("useInnerText")]
public bool? UseInnerText { get; set; }
Property Value
- bool?