Uses of Class
com.microsoft.playwright.assertions.LocatorAssertions.HasTextOptions
-
Packages that use LocatorAssertions.HasTextOptions Package Description com.microsoft.playwright.assertions com.microsoft.playwright.impl -
-
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(java.lang.String[] expected, LocatorAssertions.HasTextOptions options)Ensures theLocatorpoints to an element with the given text.voidLocatorAssertions. hasText(java.lang.String expected, LocatorAssertions.HasTextOptions options)Ensures theLocatorpoints to an element with the given text.voidLocatorAssertions. hasText(java.util.regex.Pattern[] expected, LocatorAssertions.HasTextOptions options)Ensures theLocatorpoints to an element with the given text.voidLocatorAssertions. hasText(java.util.regex.Pattern expected, LocatorAssertions.HasTextOptions options)Ensures theLocatorpoints to an element with the given text. -
Uses of LocatorAssertions.HasTextOptions in com.microsoft.playwright.impl
Methods in com.microsoft.playwright.impl with parameters of type LocatorAssertions.HasTextOptions Modifier and Type Method Description voidLocatorAssertionsImpl. hasText(java.lang.String[] strings, LocatorAssertions.HasTextOptions options)voidLocatorAssertionsImpl. hasText(java.lang.String text, LocatorAssertions.HasTextOptions options)voidLocatorAssertionsImpl. hasText(java.util.regex.Pattern[] patterns, LocatorAssertions.HasTextOptions options)voidLocatorAssertionsImpl. hasText(java.util.regex.Pattern pattern, LocatorAssertions.HasTextOptions options)
-