Class SimpleSearchPane


  • public class SimpleSearchPane
    extends BaseElement
    Represents the simple extension search form.
    Since:
    4.2M1
    Version:
    $Id: ac41531dfb75988b2f8cbe6da2cea35dac3a3027 $
    • Constructor Detail

      • SimpleSearchPane

        public SimpleSearchPane()
    • Method Detail

      • getSearchInput

        public org.openqa.selenium.WebElement getSearchInput()
        Returns:
        the text input used to specify the search keywords
      • getRepositorySelect

        public org.openqa.selenium.support.ui.Select getRepositorySelect()
        Returns:
        the list box used to select the extension repository to search into
      • selectRepository

        public SearchResultsPane selectRepository​(String repositoryId)
        Selects the specified extension repository and waits for the search results to update.
        Parameters:
        repositoryId - the repository identifier
        Returns:
        the search results pane
      • clickAdvancedSearch

        public AdvancedSearchPane clickAdvancedSearch()
        Clicks on the 'Advanced search' link to open the advanced search pane.
        Returns:
        the advanced search form
      • showMore

        public void showMore()
        Make sure advanced search options are hidden.
        Since:
        13.3, 12.10.7
      • hideMore

        public void hideMore()
        Make sure advanced search options are hidden.
        Since:
        13.3, 12.10.7
      • search

        public SearchResultsPane search​(CharSequence keywords)
        Searches for the extensions matching the given keywords.
        Parameters:
        keywords - the keywords to search for
        Returns:
        the search results pane
      • setRecommended

        public void setRecommended​(boolean enabled)
        Parameters:
        enabled - true if recommended extensions filter should be enabled
        Since:
        12.10
      • setIndexed

        public void setIndexed​(boolean enabled)
        Parameters:
        enabled - true if search should be based on the extensions index
        Since:
        12.10
      • setCompatible

        public void setCompatible​(boolean enabled)
        Parameters:
        enabled - true if compatible extensions filter should be enabled
        Since:
        12.10
      • clickButton

        public void clickButton()
        Click the simple search button.
        Since:
        12.10