Package org.xwiki.test.ui.po
Class SuggestInputElement.SuggestionElement
- java.lang.Object
-
- org.xwiki.test.ui.po.BaseElement
-
- org.xwiki.test.ui.po.SuggestInputElement.SuggestionElement
-
- Enclosing class:
- SuggestInputElement
public class SuggestInputElement.SuggestionElement extends BaseElement
-
-
Constructor Summary
Constructors Constructor Description SuggestionElement(org.openqa.selenium.WebElement suggestion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()Deletes this suggestion from the list of selected suggestions.StringgetHint()StringgetIcon()StringgetLabel()StringgetTooltip()StringgetURL()StringgetValue()booleanhasHint()voidselect()Selects this suggestion.-
Methods inherited from class org.xwiki.test.ui.po.BaseElement
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageIsReady
-
-
-
-
Method Detail
-
getValue
public String getValue()
- Returns:
- the value of this suggestion
-
getLabel
public String getLabel()
- Returns:
- the label of this suggestion
-
getIcon
public String getIcon()
- Returns:
- the icon class or src attribute of this suggestion
-
getURL
public String getURL()
- Returns:
- the url of this suggestion
-
getHint
public String getHint()
- Returns:
- the hint of this suggestion
-
hasHint
public boolean hasHint()
- Returns:
trueif the hint is present,falseotherwise
-
getTooltip
public String getTooltip()
- Returns:
- the text displayed on hover
-
delete
public void delete()
Deletes this suggestion from the list of selected suggestions.
-
select
public void select()
Selects this suggestion.
-
-