public class ViewWikiPage extends java.lang.Object implements HaddockPage
| Constructor and Description |
|---|
ViewWikiPage() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
authenticatedText()
Returns the authenticated user text.
|
LoginPage |
clickOnLogin()
Clicks on the login button.
|
ViewWikiPage |
clickOnLogout()
Logs the user out.
|
ViewWikiPage |
clickOnShowReaderView()
Clicks on the show reader view link.
|
EditWikiPage |
editPage()
Clicks the edit link.
|
ViewWikiPage |
hoverLoginArea()
Hover's the user's icon, so the login area gets visible.
|
ViewWikiPage |
hoverMoreArea()
Hover's the More tab, making its associated pane visible.
|
ViewWikiPage |
navigateTo(java.lang.String wikiPageName)
Navigates to a given view page.
|
static ViewWikiPage |
open(java.lang.String pageName)
Open a given page for view.
|
SearchResultsPage |
searchFor(java.lang.String text)
Searches for a given text.
|
com.codeborne.selenide.SelenideElement |
sidebar()
Returns the sidebar element.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwikiPageContent, wikiTitlepublic ViewWikiPage()
public static ViewWikiPage open(java.lang.String pageName)
pageName - Wiki page name to View.ViewWikiPage instance, to allow chaining of actions.public java.lang.String authenticatedText()
public LoginPage clickOnLogin()
LoginPage instance, to allow chaining of actions.public ViewWikiPage clickOnShowReaderView()
ViewWikiPage instance, to allow chaining of actions.public ViewWikiPage hoverLoginArea()
ViewWikiPage instance, to allow chaining of actions.public ViewWikiPage hoverMoreArea()
ViewWikiPage instance, to allow chaining of actions.public EditWikiPage editPage()
EditWikiPage instance, to allow chaining of actions.public SearchResultsPage searchFor(java.lang.String text)
text - text to search for.SearchResultsPage instance, to allow chaining of actions.public ViewWikiPage clickOnLogout()
ViewWikiPage instance, to allow chaining of actions.public ViewWikiPage navigateTo(java.lang.String wikiPageName)
wikiPageName - wikipage name to navigate to.ViewWikiPage instance, to allow chaining of actions.public com.codeborne.selenide.SelenideElement sidebar()
Copyright (c) 2001-2021 The Apache Software Foundation. All rights reserved.