public class SearchResultsPage extends java.lang.Object implements HaddockPage
| Constructor and Description |
|---|
SearchResultsPage() |
| Modifier and Type | Method and Description |
|---|---|
ViewWikiPage |
navigateTo(java.lang.String result)
Navigates to a view page from the search results.
|
static SearchResultsPage |
open(java.lang.String pageName)
Open the search results page with a given query text to search for.
|
java.util.List<java.lang.String> |
pagesFound()
Returns the search result page names.
|
SearchResultsPage |
shouldContain(java.lang.String... pageNames)
Ensures that the given page names are present on the search results.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwikiPageContent, wikiTitlepublic SearchResultsPage()
public static SearchResultsPage open(java.lang.String pageName)
pageName - Wiki page name to View.ViewWikiPage instance, to allow chaining of actions.public java.util.List<java.lang.String> pagesFound()
public SearchResultsPage shouldContain(java.lang.String... pageNames)
pageNames - page names to look for.SearchResultsPage instance, to allow chaining of actions.public ViewWikiPage navigateTo(java.lang.String result)
result - wikipage name to navigate to.ViewWikiPage instance, to allow chaining of actions.Copyright (c) 2001-2021 The Apache Software Foundation. All rights reserved.