public class MentionNotificationPage extends GroupedNotificationElementPage
NOTIFICATION_EVENT_SELECTOR, TEXT_SELECTOR
Constructor and Description |
---|
MentionNotificationPage(org.openqa.selenium.WebElement rootElement)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getSummary(int notificationNumber,
int groupIndex)
Returns the nth notification summary.
|
boolean |
hasSummary(int notificationNumber,
int groupIndex) |
findNotifications, getEmitter, getText, openGroup
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageJSIsLoaded
public MentionNotificationPage(org.openqa.selenium.WebElement rootElement)
rootElement
- The root element of the notification blocks.public boolean hasSummary(int notificationNumber, int groupIndex)
notificationNumber
- The notification group number.groupIndex
- The index of the notification in the group.public String getSummary(int notificationNumber, int groupIndex)
notificationNumber
- The notification group number.groupIndex
- The index of the notification in the group.Copyright © 2004–2021 XWiki. All rights reserved.