public class AuiMessage extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AuiMessage.Type |
Modifier and Type | Field and Description |
---|---|
protected org.openqa.selenium.By |
context |
protected com.atlassian.pageobjects.elements.PageElementFinder |
elementFinder |
protected com.atlassian.pageobjects.elements.PageElement |
message |
Constructor and Description |
---|
AuiMessage(org.openqa.selenium.By by) |
AuiMessage(com.atlassian.pageobjects.elements.PageElement message) |
Modifier and Type | Method and Description |
---|---|
AuiMessage |
dismiss() |
com.atlassian.pageobjects.elements.query.TimedQuery<String> |
getMessage()
Gets text of message
|
AuiMessage.Type |
getType()
Type of message - Error, Warning, Success & UNKOWN
|
boolean |
isCloseable()
Does it have a X that when clicked dismisses message
|
boolean |
isOfType(AuiMessage.Type type) |
com.atlassian.pageobjects.elements.query.TimedCondition |
isPresent() |
@Inject protected com.atlassian.pageobjects.elements.PageElementFinder elementFinder
protected final org.openqa.selenium.By context
protected com.atlassian.pageobjects.elements.PageElement message
public AuiMessage(org.openqa.selenium.By by)
public AuiMessage(com.atlassian.pageobjects.elements.PageElement message)
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getMessage()
public com.atlassian.pageobjects.elements.query.TimedCondition isPresent()
public boolean isCloseable()
public AuiMessage.Type getType()
public boolean isOfType(AuiMessage.Type type)
public AuiMessage dismiss()
Copyright © 2002-2019 Atlassian. All Rights Reserved.