Uses of Class
com.microsoft.playwright.assertions.LocatorAssertions.HasTextOptions
-
Packages that use LocatorAssertions.HasTextOptions Package Description com.microsoft.playwright.assertions -
-
Uses of LocatorAssertions.HasTextOptions in com.microsoft.playwright.assertions
Methods in com.microsoft.playwright.assertions that return LocatorAssertions.HasTextOptions Modifier and Type Method Description LocatorAssertions.HasTextOptionsLocatorAssertions.HasTextOptions. setIgnoreCase(boolean ignoreCase)Whether to perform case-insensitive match.LocatorAssertions.HasTextOptionsLocatorAssertions.HasTextOptions. setTimeout(double timeout)Time to retry the assertion for in milliseconds.LocatorAssertions.HasTextOptionsLocatorAssertions.HasTextOptions. setUseInnerText(boolean useInnerText)Whether to useelement.innerTextinstead ofelement.textContentwhen retrieving DOM node text.Methods in com.microsoft.playwright.assertions with parameters of type LocatorAssertions.HasTextOptions Modifier and Type Method Description voidLocatorAssertions. hasText(String[] expected, LocatorAssertions.HasTextOptions options)Ensures theLocatorpoints to an element with the given text.voidLocatorAssertions. hasText(String expected, LocatorAssertions.HasTextOptions options)Ensures theLocatorpoints to an element with the given text.voidLocatorAssertions. hasText(Pattern[] expected, LocatorAssertions.HasTextOptions options)Ensures theLocatorpoints to an element with the given text.voidLocatorAssertions. hasText(Pattern expected, LocatorAssertions.HasTextOptions options)Ensures theLocatorpoints to an element with the given text.
-