public class ListOfWebElementFacades extends java.util.ArrayList<WebElementFacade>
| Constructor and Description |
|---|
ListOfWebElementFacades(java.util.Collection<? extends WebElementFacade> c) |
| Modifier and Type | Method and Description |
|---|---|
<T> java.util.List<T> |
map(java.util.function.Function<? super WebElementFacade,T> elementConverter) |
java.util.List<java.lang.String> |
textContents()
Returns a list of the text contents of each element in the collection
This can be useful when elements are not visible on the page but are still in the DOM.
|
java.util.List<java.lang.String> |
texts()
Returns a list of the text values of each element in the collection
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizepublic ListOfWebElementFacades(@NotNull
java.util.Collection<? extends WebElementFacade> c)
public java.util.List<java.lang.String> texts()
public java.util.List<java.lang.String> textContents()
public <T> java.util.List<T> map(java.util.function.Function<? super WebElementFacade,T> elementConverter)