T
- type extending ListItempublic interface ListComponent<T extends ListItem>
Modifier and Type | Method and Description |
---|---|
T |
getItem(ChoicePicker picker)
Gets item found by
picker . |
T |
getItem(int index)
Gets the item on the given
index . |
T |
getItem(String text)
Gets the item which text representation is exact match with the given param
text |
List<T> |
getItems()
Gets all items from this list.
|
List<T> |
getItems(MultipleChoicePicker picker)
Gets multiple items accoriding to the rules given in
picker param. |
org.openqa.selenium.WebElement |
getRootElement()
Gets the root of this component.
|
boolean |
isEmpty()
Founds out whether the list is empty or not.
|
int |
size()
Gets the size of this list component.
|
T getItem(int index)
index
.index
- index of the item to be returnedT getItem(String text)
text
text
- the text according to which the item will be returnedT getItem(ChoicePicker picker)
picker
.picker
- for picking from the itemsChoicePickerHelper.ByIndexChoicePicker
,
ChoicePickerHelper.ByVisibleTextChoicePicker
List<T> getItems(MultipleChoicePicker picker)
picker
param.picker
- for picking from listMultipleChoicePicker
org.openqa.selenium.WebElement getRootElement()
boolean isEmpty()
int size()
Copyright © 2016 JBoss by Red Hat. All Rights Reserved.