AttachmentContainer
instead from
maven module com.atlassian.confluence:confluence-webdriver-pageobjects
. See the new README.@Deprecated public class AttachmentContainer extends AbstractAttachmentContainer
Currently the "container" is, as the attachment itself, a virtual construct. An attachment is the sum of all
attachment versions, and it is represented by one table row. Every single attachment version is also represented by a
sibling of the attachment row, see getVersionContainer(int)
.
com.atlassian.confluence.pages.actions.ViewPageAttachmentsAction}
fileNameLink
driver, frameExecutor, pageBinder, pageElementFinder, timeouts, waiter
Constructor and Description |
---|
AttachmentContainer(Attachment attachment)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
EditAttachmentPage |
clickEdit()
Deprecated.
|
Attachment |
getAttachment()
Deprecated.
|
protected com.atlassian.pageobjects.elements.PageElement |
getAttachmentRow()
Deprecated.
|
protected com.atlassian.pageobjects.elements.PageElement |
getRemoveLink()
Deprecated.
|
AttachmentVersionContainer |
getVersionContainer(int version)
Deprecated.
|
boolean |
isVersionSectionPresent()
Deprecated.
|
boolean |
isVersionSectionVisible()
Deprecated.
|
boolean |
isVersionTogglePresent()
Deprecated.
|
void |
toggleShowVersionSection()
Deprecated.
|
canRemove, clickRemove, getFileName, isPresent, isVisible
getComponent
public AttachmentContainer(Attachment attachment)
protected com.atlassian.pageobjects.elements.PageElement getAttachmentRow()
getAttachmentRow
in class AbstractAttachmentContainer
protected com.atlassian.pageobjects.elements.PageElement getRemoveLink()
getRemoveLink
in class AbstractAttachmentContainer
public boolean isVersionTogglePresent()
public void toggleShowVersionSection()
public boolean isVersionSectionPresent()
public boolean isVersionSectionVisible()
public EditAttachmentPage clickEdit()
public AttachmentVersionContainer getVersionContainer(int version)
public Attachment getAttachment()
Copyright © 2003–2016 Atlassian. All rights reserved.