ConfluenceAbstractPage
instead from
maven module com.atlassian.confluence:confluence-webdriver-pageobjects
. See the new README.@Deprecated public abstract class ConfluenceAbstractPage extends Object implements com.atlassian.pageobjects.Page
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.webdriver.AtlassianWebDriver |
driver
Deprecated.
|
protected JavascriptTimedQueryFactory |
jsQueryFactory
Deprecated.
|
protected com.atlassian.pageobjects.PageBinder |
pageBinder
Deprecated.
|
protected com.atlassian.pageobjects.elements.PageElementFinder |
pageElementFinder
Deprecated.
|
protected com.atlassian.pageobjects.elements.PageElement |
serverPerformance
Deprecated.
|
protected com.atlassian.pageobjects.elements.timeout.Timeouts |
timeouts
Deprecated.
|
protected com.atlassian.webdriver.waiter.Waiter |
waiter
Deprecated.
|
protected com.atlassian.pageobjects.elements.query.Poller.WaitTimeout |
waitTimeout
Deprecated.
|
Constructor and Description |
---|
ConfluenceAbstractPage()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<P> P |
back(Class<P> pageClass,
Object... args)
Deprecated.
|
void |
dismissSelect2IfActive()
Deprecated.
Closes any active select2 dropdowns.
|
void |
doWait()
Deprecated.
|
org.openqa.selenium.Alert |
getAlert()
Deprecated.
Waits until an alert is triggered in the browser
|
<M extends PageComponent> |
getComponent(Class<M> componentClass,
Object... args)
Deprecated.
This method is used to retrieve elements that are added via a plugin.
|
ConfluenceHeader |
getHeader()
Deprecated.
|
com.atlassian.pageobjects.components.aui.AuiInlineDialog |
getInlineDialog(org.openqa.selenium.By locator,
String dialogId)
Deprecated.
|
ConfluenceMainHeader |
getMainHeader()
Deprecated.
|
String |
getMetadata(String name)
Deprecated.
|
long |
getMetadataLong(String name)
Deprecated.
|
String |
getPageHeadingColor()
Deprecated.
|
String |
getRequestCorrelationId()
Deprecated.
|
boolean |
isDarkFeatureEnabled(String darkFeatureId)
Deprecated.
|
boolean |
isLoggedIn()
Deprecated.
|
BrowseMenu |
openBrowseMenu()
Deprecated.
|
HelpMenu |
openHelpMenu()
Deprecated.
|
ToolsMenu |
openToolsMenu()
Deprecated.
|
ConfluenceUserMenu |
openUserMenu()
Deprecated.
|
void |
sendKeyboardShortcut(String keys)
Deprecated.
|
void |
sendKeyboardShortcutAndWaitForCondition(String keys,
com.google.common.base.Function<org.openqa.selenium.WebDriver,Boolean> waitFunction,
int seconds)
Deprecated.
|
static void |
setSetupComplete(boolean setupComplete)
Deprecated.
|
String |
toString()
Deprecated.
|
@Inject protected com.atlassian.webdriver.AtlassianWebDriver driver
@Inject protected com.atlassian.pageobjects.PageBinder pageBinder
@Inject protected com.atlassian.webdriver.waiter.Waiter waiter
@Inject protected com.atlassian.pageobjects.elements.PageElementFinder pageElementFinder
@Inject protected com.atlassian.pageobjects.elements.timeout.Timeouts timeouts
@Inject protected JavascriptTimedQueryFactory jsQueryFactory
protected com.atlassian.pageobjects.elements.PageElement serverPerformance
protected final com.atlassian.pageobjects.elements.query.Poller.WaitTimeout waitTimeout
public BrowseMenu openBrowseMenu()
public ConfluenceUserMenu openUserMenu()
public ToolsMenu openToolsMenu()
public HelpMenu openHelpMenu()
@Deprecated public void doWait()
@Deprecated public static void setSetupComplete(boolean setupComplete)
public ConfluenceHeader getHeader()
public ConfluenceMainHeader getMainHeader()
public org.openqa.selenium.Alert getAlert()
public boolean isLoggedIn()
public void sendKeyboardShortcut(String keys)
public void sendKeyboardShortcutAndWaitForCondition(String keys, com.google.common.base.Function<org.openqa.selenium.WebDriver,Boolean> waitFunction, int seconds)
public <M extends PageComponent> M getComponent(Class<M> componentClass, Object... args)
M
- a PageComponent objectcomponentClass
- the class of the componentargs
- any arguments needed to construct the component objectpublic boolean isDarkFeatureEnabled(String darkFeatureId)
public String getPageHeadingColor()
public com.atlassian.pageobjects.components.aui.AuiInlineDialog getInlineDialog(org.openqa.selenium.By locator, String dialogId)
public long getMetadataLong(String name)
public String getRequestCorrelationId()
public void dismissSelect2IfActive()
Sometimes single-page tests leave select2 dropdowns active, and the select2 mask will block other page elements from being clicked (e.g. the Macro Browser's cancel button). This method allows test After methods to clean up after themselves.
Copyright © 2003–2017 Atlassian. All rights reserved.