public abstract class ConfluenceAbstractPageComponent extends Object implements PageComponent
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.webdriver.AtlassianWebDriver |
driver |
protected ConfluenceFrameExecutor |
frameExecutor |
protected com.atlassian.pageobjects.PageBinder |
pageBinder |
protected com.atlassian.pageobjects.elements.PageElementFinder |
pageElementFinder |
protected com.atlassian.pageobjects.elements.timeout.Timeouts |
timeouts |
protected com.atlassian.webdriver.waiter.Waiter |
waiter |
Constructor and Description |
---|
ConfluenceAbstractPageComponent() |
Modifier and Type | Method and Description |
---|---|
<M extends PageComponent> |
getComponent(Class<M> componentClass,
Object... args)
This method is used to retrieve elements that are added via a plugin.
|
@Inject protected com.atlassian.webdriver.AtlassianWebDriver driver
@Inject protected com.atlassian.webdriver.waiter.Waiter waiter
@Inject protected com.atlassian.pageobjects.PageBinder pageBinder
@Inject protected com.atlassian.pageobjects.elements.PageElementFinder pageElementFinder
@Inject protected ConfluenceFrameExecutor frameExecutor
@Inject protected com.atlassian.pageobjects.elements.timeout.Timeouts timeouts
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 objectCopyright © 2003–2015 Atlassian. All rights reserved.