Class CoralCheckbox
- 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.CoralCheckbox
-
public class CoralCheckbox extends AEMBaseComponent
-
-
Field Summary
-
Fields inherited from class com.adobe.cq.testing.selenium.pagewidgets.common.BaseComponent
cssSelector, currentElement
-
-
Constructor Summary
Constructors Constructor Description CoralCheckbox(com.codeborne.selenide.SelenideElement parent)CoralCheckbox(com.codeborne.selenide.SelenideElement parent, java.lang.String suffix)CoralCheckbox(java.lang.String selector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisChecked()booleanisIndeterminate()CoralCheckboxsetSelected(boolean selected)-
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
-
CoralCheckbox
public CoralCheckbox(java.lang.String selector)
- Parameters:
selector- wrapping on this direct selector.
-
CoralCheckbox
public CoralCheckbox(com.codeborne.selenide.SelenideElement parent)
- Parameters:
parent- element in which the coral-checkbox is found.
-
CoralCheckbox
public CoralCheckbox(com.codeborne.selenide.SelenideElement parent, java.lang.String suffix)- Parameters:
parent- element in which the coral-checkbox is found.suffix- a suffix to the default selector for coral-checkbox.
-
-
Method Detail
-
isChecked
public boolean isChecked()
- Returns:
- true if checked is true.
-
isIndeterminate
public boolean isIndeterminate()
- Returns:
- true if checked is true.
-
setSelected
public CoralCheckbox setSelected(boolean selected)
-
-