Class AbstractDialog
- java.lang.Object
-
- com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
-
- com.atlassian.confluence.pageobjects.component.dialog.AbstractDialog
-
- All Implemented Interfaces:
PageComponent
- Direct Known Subclasses:
ConfirmPasswordDialog,CreateDialog,Dialog,Dialog2,MovePageDialog,PageRestrictionsDialog,ViewDraftDiffDialog,WatchDialog
@Deprecated public abstract class AbstractDialog extends ConfluenceAbstractPageComponent
Deprecated.in 5.8. UseAbstractDialoginstead from maven modulecom.atlassian.confluence:confluence-webdriver-pageobjects. See the new README.
-
-
Field Summary
Fields Modifier and Type Field Description protected StringidDeprecated.since 5.4, there's no reason to use this outside this class, it should be private.-
Fields inherited from class com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
driver, frameExecutor, javascriptExecutor, pageBinder, pageElementFinder, timeouts
-
-
Constructor Summary
Constructors Constructor Description AbstractDialog(String id)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description com.atlassian.pageobjects.elements.PageElementgetDialog()Deprecated.intgetHeight()Deprecated.StringgetId()Deprecated.since 5.4, there's no reason to use this outside this class.StringgetTitle()Deprecated.intgetWidth()Deprecated.booleanisVisible()Deprecated.com.atlassian.pageobjects.elements.query.TimedConditionisVisibleTimed()Deprecated.voidpressEscape()Deprecated.Presses the escape key in the dialog.voidpressEscapeOnly()Deprecated.Presses the escape key in the dialog, without doing the entire up / pressed / down event sequence.StringtoString()Deprecated.voidwaitForRemoval()Deprecated.Waits for the dialog to be removed from the DOM.protected voidwaitUntilAUIBlanketHidden()Deprecated.voidwaitUntilHidden()Deprecated.voidwaitUntilVisible()Deprecated.
-
-
-
Field Detail
-
id
@Deprecated protected String id
Deprecated.since 5.4, there's no reason to use this outside this class, it should be private. Use thegetDialog()pageelement if you need to use the dialog.
-
-
Constructor Detail
-
AbstractDialog
public AbstractDialog(String id)
Deprecated.
-
-
Method Detail
-
getId
@Deprecated public String getId()
Deprecated.since 5.4, there's no reason to use this outside this class. Use thegetDialog()pageelement if you need to use the dialog.
-
waitUntilVisible
public void waitUntilVisible()
Deprecated.
-
waitUntilHidden
public void waitUntilHidden()
Deprecated.
-
isVisible
public boolean isVisible()
Deprecated.
-
isVisibleTimed
public com.atlassian.pageobjects.elements.query.TimedCondition isVisibleTimed()
Deprecated.
-
waitForRemoval
public void waitForRemoval()
Deprecated.Waits for the dialog to be removed from the DOM.
-
pressEscape
public void pressEscape()
Deprecated.Presses the escape key in the dialog.
-
pressEscapeOnly
public void pressEscapeOnly()
Deprecated.Presses the escape key in the dialog, without doing the entire up / pressed / down event sequence.Use in cases where the id may be removed from the DOM as a result of the key press.
-
getDialog
public com.atlassian.pageobjects.elements.PageElement getDialog()
Deprecated.
-
getTitle
public String getTitle()
Deprecated.
-
getWidth
public int getWidth()
Deprecated.- Returns:
- the width of this dialog
-
getHeight
public int getHeight()
Deprecated.
-
waitUntilAUIBlanketHidden
protected void waitUntilAUIBlanketHidden()
Deprecated.
-
-