Class BaseSidePanel<V extends BaseSidePanel>
- 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.sidepanel.BaseSidePanel<V>
-
- Direct Known Subclasses:
SidePanel
public class BaseSidePanel<V extends BaseSidePanel> extends AEMBaseComponent
Component class representing the side panel in editor page.
-
-
Field Summary
-
Fields inherited from class com.adobe.cq.testing.selenium.pagewidgets.common.BaseComponent
cssSelector, currentElement
-
-
Constructor Summary
Constructors Constructor Description BaseSidePanel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vhide()Close the SidePanel if not already closedbooleanisHidden()booleanisShown()Vshow()Opens the SidePanel if not already opened-
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
-
isShown
public boolean isShown()
- Returns:
- True if the SidePanel is open (displayed).
-
isHidden
public boolean isHidden()
- Returns:
- True if the SidePanel is closed (not displayed).
-
show
public V show()
Opens the SidePanel if not already opened- Returns:
- self object
-
hide
public V hide()
Close the SidePanel if not already closed- Returns:
- self object
-
-