public class SimpleSearchPane extends BaseElement
Constructor and Description |
---|
SimpleSearchPane() |
Modifier and Type | Method and Description |
---|---|
AdvancedSearchPane |
clickAdvancedSearch()
Clicks on the 'Advanced search' link to open the advanced search pane.
|
void |
clickButton()
Click the simple search button.
|
org.openqa.selenium.support.ui.Select |
getRepositorySelect() |
org.openqa.selenium.WebElement |
getSearchInput() |
void |
hideMore()
Make sure advanced search options are hidden.
|
SearchResultsPane |
search(CharSequence keywords)
Searches for the extensions matching the given keywords.
|
SearchResultsPane |
selectRepository(String repositoryId)
Selects the specified extension repository and waits for the search results to update.
|
void |
setCompatible(boolean enabled) |
void |
setIndexed(boolean enabled) |
void |
setRecommended(boolean enabled) |
void |
showMore()
Make sure advanced search options are hidden.
|
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageJSIsLoaded
public org.openqa.selenium.WebElement getSearchInput()
public org.openqa.selenium.support.ui.Select getRepositorySelect()
public SearchResultsPane selectRepository(String repositoryId)
repositoryId
- the repository identifierpublic AdvancedSearchPane clickAdvancedSearch()
public void showMore()
public void hideMore()
public SearchResultsPane search(CharSequence keywords)
keywords
- the keywords to search forpublic void setRecommended(boolean enabled)
enabled
- true if recommended extensions filter should be enabledpublic void setIndexed(boolean enabled)
enabled
- true if search should be based on the extensions indexpublic void setCompatible(boolean enabled)
enabled
- true if compatible extensions filter should be enabledpublic void clickButton()
Copyright © 2004–2021 XWiki. All rights reserved.