Class ShellPage
- java.lang.Object
-
- com.adobe.cq.testing.selenium.pageobject.granite.BasePage
-
- com.adobe.cq.testing.selenium.pageobject.granite.ShellPage
-
- Direct Known Subclasses:
CollectionPage,StartPage
public class ShellPage extends BasePage
-
-
Constructor Summary
Constructors Constructor Description ShellPage(java.net.URI baseURI, java.lang.String path)Register the page's path.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcloseOnboarding()Close the on-boarding popover component.com.codeborne.selenide.SelenideElementgetMainContent()ShellPageopen(java.lang.String path)Open a shell page and dismiss the onboarding popover.voidrefresh()Acts like open but also dismisses the on-boarding popover.voidwaitForContent()Needed when a page refresh is triggered by a Component's action.-
Methods inherited from class com.adobe.cq.testing.selenium.pageobject.granite.BasePage
getEditedPath, getPath, getUrl, isOpen, open, openInNewWindow, waitForMessage, waitMasked, waitReady, waitUnmasked
-
-
-
-
Method Detail
-
open
public ShellPage open(@Nonnull java.lang.String path)
Open a shell page and dismiss the onboarding popover.
-
refresh
public void refresh()
Acts like open but also dismisses the on-boarding popover.
-
closeOnboarding
public void closeOnboarding()
Close the on-boarding popover component. This is specific to ShellPages.
-
waitForContent
public void waitForContent()
Needed when a page refresh is triggered by a Component's action.
-
getMainContent
public com.codeborne.selenide.SelenideElement getMainContent()
- Returns:
- the main content element for the shell.
-
-