Class Dialog
- java.lang.Object
-
- org.primefaces.selenium.AbstractPrimePageFragment
-
- org.primefaces.selenium.component.base.AbstractComponent
-
- org.primefaces.selenium.component.Dialog
-
- All Implemented Interfaces:
org.openqa.selenium.SearchContext,org.openqa.selenium.TakesScreenshot,org.openqa.selenium.WebElement,org.openqa.selenium.WrapsElement
- Direct Known Subclasses:
ConfirmDialog
public abstract class Dialog extends AbstractComponent
Component wrapper for the PrimeFacesp:dialog.
-
-
Constructor Summary
Constructors Constructor Description Dialog()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openqa.selenium.WebElementgetContent()StringgetTitle()voidhide()Hides the dialog.booleanisVisible()Is the dialog currently visible.voidshow()Shows the dialog.-
Methods inherited from class org.primefaces.selenium.component.base.AbstractComponent
getWidgetByIdScript, getWidgetConfiguration, getWidgetConfigurationAsString, isAjaxified, isAjaxified
-
Methods inherited from class org.primefaces.selenium.AbstractPrimePageFragment
getElementLocator, getId, getRoot, getWebDriver, getWrappedElement, setElementLocator, setWebDriver
-
-
-
-
Method Detail
-
getContent
public org.openqa.selenium.WebElement getContent()
-
getTitle
public String getTitle()
-
isVisible
public boolean isVisible()
Is the dialog currently visible.- Returns:
- true if visible false if not
-
show
public void show()
Shows the dialog.
-
hide
public void hide()
Hides the dialog.
-
-