Class CoralAnchorList
- java.lang.Object
-
- com.adobe.cq.testing.selenium.pagewidgets.common.BaseComponent
-
- com.adobe.cq.testing.selenium.pagewidgets.common.AEMBaseComponent
-
- com.adobe.cq.testing.selenium.pagewidgets.coral.CoralAnchorList
-
public final class CoralAnchorList extends AEMBaseComponent
-
-
Field Summary
-
Fields inherited from class com.adobe.cq.testing.selenium.pagewidgets.common.BaseComponent
cssSelector, currentElement
-
-
Constructor Summary
Constructors Constructor Description CoralAnchorList(com.codeborne.selenide.SelenideElement parent)CoralAnchorList(java.lang.String selector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.codeborne.selenide.ElementsCollectionitems()voidselectByIndex(int index)Clicks an item.voidselectByLabel(java.lang.String label)Clicks an item.voidselectByTrackingValue(java.lang.String trackingValue)-
Methods inherited from class com.adobe.cq.testing.selenium.pagewidgets.common.AEMBaseComponent
getAction, getTrackingElement, waitPageMasked, waitPageUnmasked, waitReady
-
Methods inherited from class com.adobe.cq.testing.selenium.pagewidgets.common.BaseComponent
adaptTo, click, element, getCssSelector, isExisting, isVisible, isVisibleWithinViewport, render, scrollTo, waitDisabled, waitEnabled, waitVanish, waitVisible
-
-
-
-
Constructor Detail
-
CoralAnchorList
public CoralAnchorList(com.codeborne.selenide.SelenideElement parent)
- Parameters:
parent- the parent element containing this select list.
-
CoralAnchorList
public CoralAnchorList(java.lang.String selector)
- Parameters:
selector- the selector to wrap this object on.
-
-
Method Detail
-
items
public com.codeborne.selenide.ElementsCollection items()
- Returns:
- all the items in this list.
-
selectByIndex
public void selectByIndex(int index)
Clicks an item.- Parameters:
index- - the index of the item in the rail toggle.
-
selectByLabel
public void selectByLabel(java.lang.String label)
Clicks an item.- Parameters:
label- - the selector of the item in the rail toggle.
-
selectByTrackingValue
public void selectByTrackingValue(java.lang.String trackingValue)
-
-