Package org.xwiki.image.lightbox.test.po
Class Lightbox
- java.lang.Object
-
- org.xwiki.test.ui.po.BaseElement
-
- org.xwiki.image.lightbox.test.po.Lightbox
-
public class Lightbox extends BaseElement
The image lightbox gallery.- Since:
- 14.1RC1
- Version:
- $Id: 72da93ff069cf5ec9c29596cd7fef67220aa837c $
-
-
Constructor Summary
Constructors Constructor Description Lightbox()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clickThumbnail(int index)
void
close()
String
getCaption()
org.openqa.selenium.WebElement
getCopyImageIdButton()
String
getDate()
org.openqa.selenium.WebElement
getDownloadButton()
String
getImageId()
String
getPublisher()
org.openqa.selenium.WebElement
getSlideElement()
String
getSlideIndex()
String
getTitle()
boolean
isDisplayed()
boolean
isImageMissing()
void
next(int nextSlideIndex)
void
previous(int nextSlideIndex)
boolean
toggleFullscreen()
void
toggleSlideshow()
boolean
waitForSlide(int index)
-
Methods inherited from class org.xwiki.test.ui.po.BaseElement
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageIsReady
-
-
-
-
Method Detail
-
isDisplayed
public boolean isDisplayed()
-
waitForSlide
public boolean waitForSlide(int index)
-
getSlideElement
public org.openqa.selenium.WebElement getSlideElement()
-
getSlideIndex
public String getSlideIndex()
-
getCaption
public String getCaption()
-
getTitle
public String getTitle()
-
getPublisher
public String getPublisher()
-
getCopyImageIdButton
public org.openqa.selenium.WebElement getCopyImageIdButton()
-
getImageId
public String getImageId()
-
getDate
public String getDate()
-
getDownloadButton
public org.openqa.selenium.WebElement getDownloadButton()
-
isImageMissing
public boolean isImageMissing()
-
close
public void close()
-
next
public void next(int nextSlideIndex)
-
previous
public void previous(int nextSlideIndex)
-
toggleFullscreen
public boolean toggleFullscreen()
-
clickThumbnail
public void clickThumbnail(int index)
-
toggleSlideshow
public void toggleSlideshow()
-
-