Package org.xwiki.image.lightbox.test.po
Class ImagePopover
- java.lang.Object
-
- org.xwiki.test.ui.po.BaseElement
-
- org.xwiki.image.lightbox.test.po.ImagePopover
-
public class ImagePopover extends BaseElement
The toolbar opened on image hover.- Since:
- 14.1RC1
- Version:
- $Id: 3189efd75c0f5e1ab6a989d03c7b5d3bfeabc2c8 $
-
-
Constructor Summary
Constructors Constructor Description ImagePopover()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openqa.selenium.WebElement
getCopyImageIdButton()
org.openqa.selenium.WebElement
getDownloadButton()
String
getImageId()
org.openqa.selenium.WebElement
getImagePermalinkButton()
boolean
isImagePopoverDisplayed()
Lightbox
openLightbox()
Click on the open lightbox action of the image popover.-
Methods inherited from class org.xwiki.test.ui.po.BaseElement
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageIsReady
-
-
-
-
Method Detail
-
openLightbox
public Lightbox openLightbox()
Click on the open lightbox action of the image popover.- Returns:
- a lightbox page object
-
isImagePopoverDisplayed
public boolean isImagePopoverDisplayed()
-
getImageId
public String getImageId()
-
getCopyImageIdButton
public org.openqa.selenium.WebElement getCopyImageIdButton()
-
getDownloadButton
public org.openqa.selenium.WebElement getDownloadButton()
-
getImagePermalinkButton
public org.openqa.selenium.WebElement getImagePermalinkButton()
-
-