Class MentionNotificationPage


  • public class MentionNotificationPage
    extends GroupedNotificationElementPage
    Mentions notifications page object.
    Since:
    12.8RC1
    Version:
    $Id: 6201467efdf69f849ec137a1ed1b00cb350f31f0 $
    • Constructor Detail

      • MentionNotificationPage

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

      • hasSummary

        public boolean hasSummary​(int notificationNumber,
                                  int groupIndex)
        Parameters:
        notificationNumber - The notification group number.
        groupIndex - The index of the notification in the group.
        Returns:
        true if the request element has a summary.
      • getSummary

        public String getSummary​(int notificationNumber,
                                 int groupIndex)
        Returns the nth notification summary.
        Parameters:
        notificationNumber - The notification group number.
        groupIndex - The index of the notification in the group.
        Returns:
        the summary of the mention.