A Page can implement this trait to get notified when the page gets activated and deactivated.
If you want to use geb-like at checker, use this trait.
A Page needs to implement AtChecker if you want to activate the page with PageBrowser.
Because a PageObject will be chained to an PageBrowser, every PageBrowser needs an own instance of the error page.
Default implementation for PageReference, used by PageObject and PageReferenceProvider.
Default implementation of UnexpectedPages
Default UnexpectedPagesFactory implementation
Default implementation of UrlPage only contain an URL.
Trait to separate the domain and the path of the page to test.
Use this class if you want to create a PageModule chained to a Query.
A trait representing a PageModule chained to an Element.
Default implementation of UnexpectedPages with empty lists for cancelTestPages and failTestPages
Use this class if you want to create a PageModule chained to a Query.
PageModule for keyboard driven tests.
Because each PageModule has two implicit PageReferences, one pointing the PageModule itself, the other one pointing to the parent PageReference, we need two types to allow the compiler to decide which PageReference to use.
Base trait for PageObject and PageModule.
A PageModule represents a logical unit inside a PageObject
.
This trait is intended to be part of the testing pattern PageObject.
A PageReference is used by PageModules to point to the parent PageObject or PageModule.
Helper trait needed to work with locators directly in Suites without using PageObjects.
Because each PageModule has two implicit PageReferences, one pointing the PageModule itself, the other one pointing to the parent PageReference, we need two types to allow the compiler to decide which PageReference to use.
This type is used by UnexpectedPagesFactory.createUnexpectedPages()
This type is used by to represent a list of functions returning unexpected pages.
Use this trait if you want to provide a UnexpectedPagesFactory.
Trait for Pages that can be navigated to by using PageBrowser.via()
case class HomePage() extends UrlPage {
val url = "localhost:9000/index.html"
}
via(HomePage())
If you use UnexpectedPages.
UnexpectedPages will be checked by PageBrowser.at()
to prevent
running in a timeout when waiting for an expected page.
This class is used to manage the list of UnexpectedPages.
companion object to create UrlPage instances that are only having an URL.