AttachmentContainer
instead. Since v5.8@Deprecated public class AttachmentsRow extends ConfluenceAbstractPageComponent
driver, frameExecutor, pageBinder, pageElementFinder, timeouts, waiter
Constructor and Description |
---|
AttachmentsRow(org.openqa.selenium.By tableLocator,
Attachment attachment)
Deprecated.
Creates a reference to the corresponding row for the latest version
of the provided attachment.
|
AttachmentsRow(org.openqa.selenium.By tableLocator,
Attachment attachment,
int version)
Deprecated.
Creates a reference to the corresponding row for the specified version
of the provided attachment.
|
Modifier and Type | Method and Description |
---|---|
EditAttachmentPage |
clickEdit()
Deprecated.
|
org.openqa.selenium.Alert |
clickRemove()
Deprecated.
|
String |
getFileName()
Deprecated.
|
org.openqa.selenium.WebElement |
getTable()
Deprecated.
|
boolean |
isPresent()
Deprecated.
|
boolean |
isVersionTogglePresent()
Deprecated.
|
boolean |
isVisible()
Deprecated.
|
void |
toggleShowVersion()
Deprecated.
|
getComponent
public AttachmentsRow(org.openqa.selenium.By tableLocator, Attachment attachment)
tableLocator
- - a locator for the instance of the attachment table in useattachment
- - the attachment to referencepublic AttachmentsRow(org.openqa.selenium.By tableLocator, Attachment attachment, int version)
tableLocator
- - a locator for the instance of the attachment table in useattachment
- - the attachmentversion
- - the version number of the attachment, if 0, the latest version is providedpublic boolean isPresent()
public boolean isVisible()
public boolean isVersionTogglePresent()
public void toggleShowVersion()
public org.openqa.selenium.Alert clickRemove()
public EditAttachmentPage clickEdit()
public org.openqa.selenium.WebElement getTable()
public String getFileName()
Copyright © 2003–2015 Atlassian. All rights reserved.