Class CoralRadio
- 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.CoralRadio
-
public class CoralRadio extends AEMBaseComponent
-
-
Field Summary
-
Fields inherited from class com.adobe.cq.testing.selenium.pagewidgets.common.BaseComponent
cssSelector, currentElement
-
-
Constructor Summary
Constructors Constructor Description CoralRadio(com.codeborne.selenide.SelenideElement parent, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivateByValue(java.lang.String value)com.codeborne.selenide.SelenideElementelementByValue(java.lang.String value)booleanhasValue(java.lang.String value)-
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
-
-
-
-
Method Detail
-
elementByValue
public com.codeborne.selenide.SelenideElement elementByValue(java.lang.String value)
- Parameters:
value- to find the related radio button.- Returns:
- the first matching element or null if not found.
-
activateByValue
public void activateByValue(java.lang.String value)
- Parameters:
value- to find the related radio button.
-
hasValue
public boolean hasValue(java.lang.String value)
- Parameters:
value- to find the related radio button.- Returns:
- true if the radio group has such possible value
-
-