Class MacroDialogSelectModal


  • public class MacroDialogSelectModal
    extends BaseElement
    Page Object for the macro selection modal.
    Since:
    14.9
    Version:
    $Id: 166f195274461d8c3eaa97247c2440fca44543fc $
    • Constructor Detail

      • MacroDialogSelectModal

        public MacroDialogSelectModal()
    • Method Detail

      • waitUntilReady

        public MacroDialogSelectModal waitUntilReady()
        Wait until the macro selection modal is loaded.
        Returns:
        the current page object
      • filterByText

        public void filterByText​(String value,
                                 long expectedCount)
        Filter the list of macro by text.
        Parameters:
        value - the text to filter (e.g., "Pages")
        expectedCount - the expected number of macros listed after filtering
      • getFirstMacro

        public Optional<org.openqa.selenium.WebElement> getFirstMacro()
        Returns:
        the first listed macro
      • clickSelect

        public MacroDialogEditModal clickSelect()
        Click on the macro selection button.
        Returns:
        the page object for the macro dialog edition modal