Package org.apache.wiki.pages.haddock
Class ViewWikiPage
- java.lang.Object
- 
- org.apache.wiki.pages.haddock.ViewWikiPage
 
- 
- All Implemented Interfaces:
- HaddockPage,- Page
 
 public class ViewWikiPage extends java.lang.Object implements HaddockPage Actions available on the View page.
- 
- 
Constructor SummaryConstructors Constructor Description ViewWikiPage()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringauthenticatedText()Returns the authenticated user text.LoginPageclickOnLogin()Clicks on the login button.ViewWikiPageclickOnLogout()Logs the user out.ViewWikiPageclickOnShowReaderView()Clicks on the show reader view link.EditWikiPageeditPage()Clicks the edit link.ViewWikiPagehoverLoginArea()Hover's the user's icon, so the login area gets visible.ViewWikiPagehoverMoreArea()Hover's the More tab, making its associated pane visible.ViewWikiPagenavigateTo(java.lang.String wikiPageName)Navigates to a given view page.static ViewWikiPageopen(java.lang.String pageName)Open a given page for view.SearchResultsPagesearchFor(java.lang.String text)Searches for a given text.com.codeborne.selenide.SelenideElementsidebar()Returns the sidebar element.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.apache.wiki.pages.haddock.HaddockPagewikiPageContent, wikiTitle
 
- 
 
- 
- 
- 
Constructor Detail- 
ViewWikiPagepublic ViewWikiPage() 
 
- 
 - 
Method Detail- 
openpublic static ViewWikiPage open(java.lang.String pageName) Open a given page for view.- Parameters:
- pageName- Wiki page name to View.
- Returns:
- ViewWikiPageinstance, to allow chaining of actions.
 
 - 
authenticatedTextpublic java.lang.String authenticatedText() Returns the authenticated user text.- Returns:
- the authenticated user text.
 
 - 
clickOnLoginpublic LoginPage clickOnLogin() Clicks on the login button.- Returns:
- LoginPageinstance, to allow chaining of actions.
 
 - 
clickOnShowReaderViewpublic ViewWikiPage clickOnShowReaderView() Clicks on the show reader view link.- Returns:
- ViewWikiPageinstance, to allow chaining of actions.
 
 - 
hoverLoginAreapublic ViewWikiPage hoverLoginArea() Hover's the user's icon, so the login area gets visible.- Returns:
- ViewWikiPageinstance, to allow chaining of actions.
 
 - 
hoverMoreAreapublic ViewWikiPage hoverMoreArea() Hover's the More tab, making its associated pane visible.- Returns:
- ViewWikiPageinstance, to allow chaining of actions.
 
 - 
editPagepublic EditWikiPage editPage() Clicks the edit link.- Returns:
- EditWikiPageinstance, to allow chaining of actions.
 
 - 
searchForpublic SearchResultsPage searchFor(java.lang.String text) Searches for a given text.- Parameters:
- text- text to search for.
- Returns:
- SearchResultsPageinstance, to allow chaining of actions.
 
 - 
clickOnLogoutpublic ViewWikiPage clickOnLogout() Logs the user out.- Returns:
- ViewWikiPageinstance, to allow chaining of actions.
 
 - 
navigateTopublic ViewWikiPage navigateTo(java.lang.String wikiPageName) Navigates to a given view page.- Parameters:
- wikiPageName- wikipage name to navigate to.
- Returns:
- ViewWikiPageinstance, to allow chaining of actions.
 
 - 
sidebarpublic com.codeborne.selenide.SelenideElement sidebar() Returns the sidebar element.- Returns:
- the sidebar element.
 
 
- 
 
-