Package com.xwiki.pdfviewer.po
Class TabLayoutPDFMacro
- java.lang.Object
-
- org.xwiki.test.ui.po.BaseElement
-
- com.xwiki.pdfviewer.po.TabLayoutPDFMacro
-
public class TabLayoutPDFMacro extends org.xwiki.test.ui.po.BaseElementRepresents a PDF Viewer macro that uses the tab layout and provides access to its attributes.- Since:
- 2.7
- Version:
- $Id$
-
-
Constructor Summary
Constructors Constructor Description TabLayoutPDFMacro(org.openqa.selenium.WebElement macro, org.openqa.selenium.WebElement tabs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclickTab(int index)intgetActiveTab()StringgetHeight()StringgetTabHref(int index)StringgetTabName(int index)List<org.openqa.selenium.WebElement>getTabs()List<String>getTabsNames()StringgetText()StringgetWidth()
-
-
-
Method Detail
-
clickTab
public void clickTab(int index)
-
getActiveTab
public int getActiveTab()
-
getTabHref
public String getTabHref(int index)
-
getTabName
public String getTabName(int index)
-
getText
public String getText()
-
getHeight
public String getHeight()
-
getWidth
public String getWidth()
-
getTabs
public List<org.openqa.selenium.WebElement> getTabs()
-
-