Returns a class name query.
Returns a class name query.
This method enables syntax such as the following:
click on className("???") ^
the query string for this query.
Returns a CSS selector query.
Returns a CSS selector query.
This method enables syntax such as the following:
click on cssSelector("???") ^
the query string for this query.
Returns an ID query.
Returns an ID query.
This method enables syntax such as the following:
click on id("q") ^
the query string for this query.
Returns a link text query.
Returns a link text query.
This method enables syntax such as the following:
click on linkText("???") ^
the query string for this query.
Creates a Seq of ElementPageModules, one module for each Element returned by Query.
Creates a Seq of ElementPageModules, one module for each Element returned by Query.
Example:
def todos = modules(xpath("li"), TodoEntryModule(_))
the Type of the ElementPageModule
the query to execute
A function returning a ElementPageModule for the given Element.
A Seq of created ElementPageModules, can be empty.
Returns a name query.
Returns a name query.
This method enables syntax such as the following:
click on name("q") ^
the query string for this query.
The parent PageModule or PageObject
Returns a partial link text query.
Returns a partial link text query.
This method enables syntax such as the following:
click on partialLinkText("???") ^
the query string for this query.
Returns the Element containg the PageModule.
Returns the Element containg the PageModule. PageObjects will always return None.
Element containg the PageModule
Returns a tag name query.
Returns a tag name query.
This method enables syntax such as the following:
click on tagName("???") ^
the query string for this query.
Returns an XPath query.
Returns an XPath query.
This method enables syntax such as the following:
click on xpath("???") ^
the query string for this query.
This is a PageObject to detect Browser Error Pages.
It is used as a default for UnexpectedPages to cancel a test when a BrowserErrorPage was found.