Class InsertComponentDialog


  • public class InsertComponentDialog
    extends Dialog
    • Constructor Detail

      • InsertComponentDialog

        public InsertComponentDialog()
    • Method Detail

      • getItemByValue

        public com.codeborne.selenide.SelenideElement getItemByValue​(java.lang.String value)
        Parameters:
        value - value of the targeted item in this list.
        Returns:
        the element or null if it doesn't exist.
      • selectComponent

        public void selectComponent​(java.lang.String resourceType)
        select the specific component based on resource type
        Parameters:
        resourceType - resource type to select a component
      • getComponentList

        public com.codeborne.selenide.ElementsCollection getComponentList()
        Returns:
        collections of available components
      • close

        public void close()
        closes the Current Dialg
      • search

        public com.codeborne.selenide.ElementsCollection search​(java.lang.String searchText)
        filters the list of the components bases on search text
        Parameters:
        searchText - search text
        Returns:
        Collection of Elements which met the search