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 void
delete()
Deletes this suggestion from the list of selected suggestions.String
getHint()
String
getIcon()
String
getLabel()
String
getURL()
String
getValue()
void
select()
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
-
delete
public void delete()
Deletes this suggestion from the list of selected suggestions.
-
select
public void select()
Selects this suggestion.
-
-