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. UseAbstractDialog
instead from maven modulecom.atlassian.confluence:confluence-webdriver-pageobjects
. See the new README.
-
-
Field Summary
Fields Modifier and Type Field Description protected String
id
Deprecated.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, pageBinder, pageElementFinder, timeouts, waiter
-
-
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.PageElement
getDialog()
Deprecated.int
getHeight()
Deprecated.String
getId()
Deprecated.since 5.4, there's no reason to use this outside this class.String
getTitle()
Deprecated.int
getWidth()
Deprecated.boolean
isVisible()
Deprecated.com.atlassian.pageobjects.elements.query.TimedCondition
isVisibleTimed()
Deprecated.void
pressEscape()
Deprecated.Presses the escape key in the dialog.void
pressEscapeOnly()
Deprecated.Presses the escape key in the dialog, without doing the entire up / pressed / down event sequence.String
toString()
Deprecated.void
waitForRemoval()
Deprecated.Waits for the dialog to be removed from the DOM.protected void
waitUntilAUIBlanketHidden()
Deprecated.void
waitUntilHidden()
Deprecated.void
waitUntilVisible()
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.
-
-