public class EventTypePreferences extends AbstractNotificationPreferences
alertSwitch, driver, emailSwitch, webElement
Constructor and Description |
---|
EventTypePreferences(org.openqa.selenium.WebElement webElement,
XWikiWebDriver driver)
Construct an EventTypePreferences.
|
Modifier and Type | Method and Description |
---|---|
String |
getEventType() |
String |
getEventTypeDescription() |
protected BootstrapSwitch |
getSwitch(String format) |
getAlertState, getEmailState, setAlertState, setEmailState
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageJSIsLoaded
public EventTypePreferences(org.openqa.selenium.WebElement webElement, XWikiWebDriver driver)
webElement
- table row of the event typedriver
- the xwiki web driverpublic String getEventType()
public String getEventTypeDescription() throws Exception
Exception
- if the event type is not displayedprotected BootstrapSwitch getSwitch(String format)
getSwitch
in class AbstractNotificationPreferences
format
- the format of the notificationCopyright © 2004–2021 XWiki. All rights reserved.