Dialog
instead from
maven module com.atlassian.confluence:confluence-webdriver-pageobjects
. See the new README.@Deprecated public class Dialog extends AbstractDialog
id
driver, frameExecutor, pageBinder, pageElementFinder, timeouts, waiter
Modifier and Type | Method and Description |
---|---|
protected void |
clickButton(String className,
boolean waitForDialogToClose)
Deprecated.
|
void |
clickCancel()
Deprecated.
Clicks the 'Cancel' link (anything in the dialog with a "button-panel-cancel-link" class.
|
void |
clickCancelAndWaitUntilClosed()
Deprecated.
|
protected void |
clickLink(String className,
boolean waitForDialogToClose)
Deprecated.
|
protected void |
clickPageMenu(String menuItemText)
Deprecated.
|
protected com.atlassian.pageobjects.elements.PageElement |
find(String cssSelector)
Deprecated.
|
protected List<com.atlassian.pageobjects.elements.PageElement> |
findAll(String cssSelector)
Deprecated.
|
String |
getTitle()
Deprecated.
|
boolean |
hasButton(String className)
Deprecated.
|
boolean |
hasLink(String className)
Deprecated.
|
protected boolean |
hasPageMenu(String menuItemText)
Deprecated.
|
boolean |
isButtonDisabled(String className)
Deprecated.
|
getDialog, getHeight, getId, getWidth, isVisible, isVisibleTimed, pressEscape, pressEscapeOnly, toString, waitForRemoval, waitUntilAUIBlanketHidden, waitUntilHidden, waitUntilVisible
getComponent
public Dialog(String id)
public String getTitle()
getTitle
in class AbstractDialog
protected void clickButton(String className, boolean waitForDialogToClose)
protected void clickLink(String className, boolean waitForDialogToClose)
public boolean hasButton(String className)
public boolean hasLink(String className)
public boolean isButtonDisabled(String className)
protected void clickPageMenu(String menuItemText)
protected boolean hasPageMenu(String menuItemText)
public void clickCancel()
Fails if link does not exist.
public void clickCancelAndWaitUntilClosed()
protected com.atlassian.pageobjects.elements.PageElement find(String cssSelector)
Copyright © 2003–2016 Atlassian. All rights reserved.