Package org.apache.wiki.pages
Interface Page
- All Known Subinterfaces:
HaddockPage
- All Known Implementing Classes:
EditWikiPage,LoginPage,SearchResultsPage,ViewWikiPage
public interface Page
Common operations for Page Objects.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringbaseUrl()returns the base URL on which the tests are run.static Filedefault Stringtitle()returns the actual page title.default Stringurl()returns the actual URL.returns page's wiki content.returns page's wiki title.static PageBuilderCreates a newPageBuilderin order to customize page creation.
-
Method Details
-
withUrl
Creates a newPageBuilderin order to customize page creation.- Parameters:
url- url to open in the browser.- Returns:
PageBuilderinstance to allow page creation customization.
-
baseUrl
returns the base URL on which the tests are run.- Returns:
- the base URL on which the tests are run.
-
download
- Throws:
IOExceptionURISyntaxException
-
title
returns the actual page title.- Returns:
- the actual page title.
-
url
returns the actual URL.- Returns:
- the actual URL.
-
wikiTitle
returns page's wiki title.- Returns:
- page's wiki title.
-
wikiPageContent
returns page's wiki content.- Returns:
- page's wiki content.
-