public abstract class AbstractDialog extends ConfluenceAbstractPageComponent
Modifier and Type | Field and Description |
---|---|
protected String |
id
Deprecated.
since 5.4, there's no reason to use this outside this class, it should be private. Use the
getDialog() pageelement if you need to use the dialog. |
driver, frameExecutor, pageBinder, pageElementFinder, timeouts, waiter
Constructor and Description |
---|
AbstractDialog(String id) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.pageobjects.elements.PageElement |
getDialog() |
int |
getHeight() |
String |
getId()
Deprecated.
since 5.4, there's no reason to use this outside this class. Use the
getDialog()
pageelement if you need to use the dialog. |
String |
getTitle() |
int |
getWidth() |
boolean |
isVisible() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isVisibleTimed() |
void |
pressEscape()
Presses the escape key in the dialog.
|
void |
pressEscapeOnly()
Presses the escape key in the dialog, without doing the entire up / pressed / down event sequence.
|
void |
waitForRemoval()
Waits for the dialog to be removed from the DOM.
|
void |
waitUntilHidden() |
void |
waitUntilVisible() |
getComponent
@Deprecated protected String id
getDialog()
pageelement if you need to use the dialog.public AbstractDialog(String id)
@Deprecated public String getId()
getDialog()
pageelement if you need to use the dialog.public void waitUntilVisible()
public void waitUntilHidden()
public boolean isVisible()
public com.atlassian.pageobjects.elements.query.TimedCondition isVisibleTimed()
public void waitForRemoval()
public void pressEscape()
public void pressEscapeOnly()
public com.atlassian.pageobjects.elements.PageElement getDialog()
public String getTitle()
public int getWidth()
public int getHeight()
Copyright © 2003–2015 Atlassian. All rights reserved.