public class JiraDialog extends Object
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.pageobjects.PageBinder |
binder |
static String |
CONTENT_AREA_CLASS |
static String |
CONTENT_READY_CLASS |
static String |
DIALOG_CLASS |
static String |
DIALOG_OPEN_CLASS |
protected org.openqa.selenium.WebDriver |
driver |
protected ExtendedElementFinder |
extendedFinder |
static String |
HEADING_AREA_CLASS |
protected String |
id |
protected org.openqa.selenium.JavascriptExecutor |
javascriptExecutor |
protected com.atlassian.pageobjects.elements.PageElementFinder |
locator |
protected TimedQueryFactory |
queryFactory |
protected com.atlassian.pageobjects.elements.timeout.Timeouts |
timeouts |
Constructor and Description |
---|
JiraDialog() |
JiraDialog(String id) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.pageobjects.elements.PageElement |
find(org.openqa.selenium.By locator) |
<T extends com.atlassian.pageobjects.elements.PageElement> |
find(org.openqa.selenium.By locator,
Class<T> elementClass) |
List<com.atlassian.pageobjects.elements.PageElement> |
findAll(org.openqa.selenium.By locator) |
<T extends com.atlassian.pageobjects.elements.PageElement> |
findAll(org.openqa.selenium.By locator,
Class<T> elementClass) |
protected com.atlassian.pageobjects.elements.PageElement |
getDialogElement() |
void |
initAbstractDialog() |
com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> |
isClosed()
Check that the JIRA Dialog has been closed.
|
protected com.atlassian.pageobjects.elements.query.TimedCondition |
isInDOM()
Check if the JIRA Dialog has been added to the DOM of the page.
|
com.atlassian.pageobjects.elements.query.TimedCondition |
isOpen()
Check if the dialog's content has been loaded and is being displayed to the user.
|
void |
waitUntilFinishedLoading() |
@Inject protected com.atlassian.pageobjects.elements.timeout.Timeouts timeouts
@Inject protected com.atlassian.pageobjects.elements.PageElementFinder locator
@Inject protected ExtendedElementFinder extendedFinder
@Inject protected TimedQueryFactory queryFactory
@Inject protected org.openqa.selenium.WebDriver driver
@Inject protected org.openqa.selenium.JavascriptExecutor javascriptExecutor
@Inject protected com.atlassian.pageobjects.PageBinder binder
public static final String DIALOG_CLASS
public static final String HEADING_AREA_CLASS
public static final String CONTENT_AREA_CLASS
public static final String DIALOG_OPEN_CLASS
public static final String CONTENT_READY_CLASS
protected String id
public JiraDialog(String id)
public JiraDialog()
public void initAbstractDialog()
protected com.atlassian.pageobjects.elements.query.TimedCondition isInDOM()
public com.atlassian.pageobjects.elements.query.TimedCondition isOpen()
public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> isClosed()
protected com.atlassian.pageobjects.elements.PageElement getDialogElement()
public void waitUntilFinishedLoading()
public com.atlassian.pageobjects.elements.PageElement find(org.openqa.selenium.By locator)
public <T extends com.atlassian.pageobjects.elements.PageElement> T find(org.openqa.selenium.By locator, Class<T> elementClass)
public List<com.atlassian.pageobjects.elements.PageElement> findAll(org.openqa.selenium.By locator)
Copyright © 2002-2023 Atlassian. All Rights Reserved.