| Modifier and Type | Method and Description |
|---|---|
LocatorAssertions.ContainsTextOptions |
LocatorAssertions.ContainsTextOptions.setTimeout(double timeout)
Time to retry the assertion for.
|
LocatorAssertions.ContainsTextOptions |
LocatorAssertions.ContainsTextOptions.setUseInnerText(boolean useInnerText)
Whether to use
element.innerText instead of element.textContent when retrieving DOM node text. |
| Modifier and Type | Method and Description |
|---|---|
void |
LocatorAssertions.containsText(Pattern[] expected,
LocatorAssertions.ContainsTextOptions options)
Ensures the
Locator points to an element that contains the given text. |
void |
LocatorAssertions.containsText(Pattern expected,
LocatorAssertions.ContainsTextOptions options)
Ensures the
Locator points to an element that contains the given text. |
void |
LocatorAssertions.containsText(String[] expected,
LocatorAssertions.ContainsTextOptions options)
Ensures the
Locator points to an element that contains the given text. |
void |
LocatorAssertions.containsText(String expected,
LocatorAssertions.ContainsTextOptions options)
Ensures the
Locator points to an element that contains the given text. |
Copyright © 2021. All rights reserved.