public class ListOfWebElementFacades extends ArrayList<WebElementFacade>
modCount| Constructor and Description |
|---|
ListOfWebElementFacades(Collection<? extends WebElementFacade> c) |
| Modifier and Type | Method and Description |
|---|---|
<T> List<T> |
map(Function<? super WebElementFacade,T> elementConverter) |
void |
setFallback(Function<PageObject,ListOfWebElementFacades> fallbackMethod,
PageObject page) |
List<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.
|
List<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, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic ListOfWebElementFacades(Collection<? extends WebElementFacade> c)
public List<String> texts()
public List<String> textContents()
public <T> List<T> map(Function<? super WebElementFacade,T> elementConverter)
public void setFallback(Function<PageObject,ListOfWebElementFacades> fallbackMethod, PageObject page)
Copyright © 2022. All rights reserved.