Class GroupedNotificationElementPage


  • public class GroupedNotificationElementPage
    extends BaseElement
    Represent generic operations on the notification tray groups.
    Since:
    12.8RC1
    Version:
    $Id: a247c2143e8d446ce9243d17fec870e864ae8195 $
    • Constructor Detail

      • GroupedNotificationElementPage

        public GroupedNotificationElementPage​(org.openqa.selenium.WebElement rootElement)
        Default constructor.
        Parameters:
        rootElement - The root element of the notification blocks.
    • Method Detail

      • openGroup

        public void openGroup​(int notificationNumber)
        Opens a notification group.
        Parameters:
        notificationNumber - The notification index.
      • getText

        public String getText​(int notificationNumber,
                              int groupIndex)
        Finds the text of a notification.
        Parameters:
        notificationNumber - The notification group number.
        groupIndex - The index of the notification in the group.
        Returns:
        The mention text.
      • getEmitter

        public String getEmitter​(int notificationNumber,
                                 int groupIndex)
        Parameters:
        notificationNumber - The notification group number.
        groupIndex - The index of the notification in the group.
        Returns:
        The mention emitter.
      • findNotifications

        protected List<org.openqa.selenium.WebElement> findNotifications()