Table of Contents

Class LocatorAssertionsToHaveTextOptions

Namespace
Microsoft.Playwright
Assembly
Microsoft.Playwright.dll
public class LocatorAssertionsToHaveTextOptions
Inheritance
LocatorAssertionsToHaveTextOptions
Inherited Members

Constructors

LocatorAssertionsToHaveTextOptions()

public LocatorAssertionsToHaveTextOptions()

LocatorAssertionsToHaveTextOptions(LocatorAssertionsToHaveTextOptions)

public LocatorAssertionsToHaveTextOptions(LocatorAssertionsToHaveTextOptions clone)

Parameters

clone LocatorAssertionsToHaveTextOptions

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

float?

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?