Uses of Class
com.microsoft.playwright.assertions.LocatorAssertions.HasTextOptions
Packages that use LocatorAssertions.HasTextOptions
-
Uses of LocatorAssertions.HasTextOptions in com.microsoft.playwright.assertions
Methods in com.microsoft.playwright.assertions that return LocatorAssertions.HasTextOptionsModifier and TypeMethodDescriptionLocatorAssertions.HasTextOptions.setIgnoreCase(boolean ignoreCase) Whether to perform case-insensitive match.LocatorAssertions.HasTextOptions.setTimeout(double timeout) Time to retry the assertion for in milliseconds.LocatorAssertions.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.HasTextOptionsModifier and TypeMethodDescriptionvoidLocatorAssertions.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. -
Uses of LocatorAssertions.HasTextOptions in com.microsoft.playwright.impl
Methods in com.microsoft.playwright.impl with parameters of type LocatorAssertions.HasTextOptionsModifier and TypeMethodDescriptionvoidLocatorAssertionsImpl.hasText(String[] strings, LocatorAssertions.HasTextOptions options) voidLocatorAssertionsImpl.hasText(String text, LocatorAssertions.HasTextOptions options) voidLocatorAssertionsImpl.hasText(Pattern[] patterns, LocatorAssertions.HasTextOptions options) voidLocatorAssertionsImpl.hasText(Pattern pattern, LocatorAssertions.HasTextOptions options)