public interface AutoComplete
Modifier and Type | Method and Description |
---|---|
AutoComplete |
acceptUsingKeyboard(MultiSelectSuggestion suggestion)
Presses enter on specified suggestion
|
AutoComplete |
acceptUsingMouse(MultiSelectSuggestion suggestion)
Selects specified suggestion using mouse click
|
AutoComplete |
clearQuery()
Clear string in the textfield.
|
AutoComplete |
down(int steps)
Navigates selection down using DOWN key.
|
MultiSelectSuggestion |
getActiveSuggestion()
Gets active suggestion
|
com.atlassian.pageobjects.elements.PageElement |
getLabel()
If there is an overlabel, will return the PageElement
|
List<MultiSelectSuggestion> |
getSuggestions()
Gets a list of suggestions visible in dropdown
|
com.atlassian.pageobjects.elements.query.TimedQuery<MultiSelectSuggestion> |
getTimedActiveSuggestion()
Gets active suggestion as a timed query
|
com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<MultiSelectSuggestion>> |
getTimedSuggestions()
Gets a list of suggestions visible in dropdown, as a timed query
|
boolean |
isPresent()
Returns if the control is present on page
|
AutoComplete |
query(String query)
Types string into textfield and waits for input to be evaluated
|
com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> |
timedIsPresent()
Returns true if the control is present on page
|
AutoComplete |
up(int steps)
Navigates selection down using UP key.
|
List<MultiSelectSuggestion> getSuggestions()
com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<MultiSelectSuggestion>> getTimedSuggestions()
AutoComplete clearQuery()
AutoComplete query(String query)
query
- - input to be typed into text fieldAutoComplete acceptUsingMouse(MultiSelectSuggestion suggestion)
suggestion
- suggestion to be clickedAutoComplete acceptUsingKeyboard(MultiSelectSuggestion suggestion)
suggestion
- - suggestion to be navigated toAutoComplete down(int steps)
steps
- - Number of times down key is pressedAutoComplete up(int steps)
steps
- - Number of times up key is pressedcom.atlassian.pageobjects.elements.PageElement getLabel()
MultiSelectSuggestion getActiveSuggestion()
com.atlassian.pageobjects.elements.query.TimedQuery<MultiSelectSuggestion> getTimedActiveSuggestion()
boolean isPresent()
com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> timedIsPresent()
true
if presentCopyright © 2002-2019 Atlassian. All Rights Reserved.