public class RefappWebSudoBanner extends Object implements com.atlassian.pageobjects.component.WebSudoBanner
| Modifier and Type | Field and Description |
|---|---|
protected org.openqa.selenium.WebDriver |
driver |
protected com.atlassian.pageobjects.PageBinder |
pageBinder |
| Constructor and Description |
|---|
RefappWebSudoBanner() |
| Modifier and Type | Method and Description |
|---|---|
<M extends com.atlassian.pageobjects.Page> |
dropWebSudo(Class<M> nextPage)
Drops the websudo privilege if the websudo banner is displayed otherwise just navigates
to the next page.
|
String |
getMessage()
Gets websudo banner message.
|
boolean |
isShowing() |
@Inject protected org.openqa.selenium.WebDriver driver
@Inject protected com.atlassian.pageobjects.PageBinder pageBinder
public boolean isShowing()
isShowing in interface com.atlassian.pageobjects.component.WebSudoBannerpublic String getMessage()
getMessage in interface com.atlassian.pageobjects.component.WebSudoBannerpublic <M extends com.atlassian.pageobjects.Page> M dropWebSudo(Class<M> nextPage)
dropWebSudo in interface com.atlassian.pageobjects.component.WebSudoBannernextPage - the page to navigate to after websudo privileges have been dropped.Copyright © 2015 Atlassian Support. All rights reserved.