org.pageobject.core

page

package page

Visibility
  1. Public
  2. All

Type Members

  1. trait AssertAtChecker extends AtChecker

    If you want to use geb-like at checker, use this trait.

  2. trait AtChecker extends AnyRef

    A Page needs to implement AtChecker if you want to activate the page with PageBrowser.

  3. trait BaseUnexpectedPages[T] extends AnyRef

    Because a PageObject will be chained to an PageBrowser, every PageBrowser needs an own instance of the error page.

  4. trait DefaultPageReference extends PageReference

    Default implementation for PageReference, used by PageObject and PageReferenceProvider.

  5. case class DefaultUnexpectedPages(cancelTestPages: Seq[AtChecker] = ..., failTestPages: Seq[AtChecker] = ..., waitPages: Seq[AtChecker] = ...) extends UnexpectedPages with Product with Serializable

    Default implementation of UnexpectedPages

  6. case class DefaultUnexpectedPagesFactory(cancelTestPages: Seq[() ⇒ AtChecker] = ..., failTestPages: Seq[() ⇒ AtChecker] = ..., waitPages: Seq[() ⇒ AtChecker] = UnexpectedPages.defaultWaitPages) extends UnexpectedPagesFactory with Product with Serializable

    Default UnexpectedPagesFactory implementation

  7. case class DefaultUrlPage(url: String) extends UrlPage with Product with Serializable

    Default implementation of UrlPage only contain an URL.

  8. trait DomainPage extends UrlPage

    Trait to separate the domain and the path of the page to test.

  9. abstract class DynamicQueryPageModule extends PageModule with ElementPageModule

    Use this class if you want to create a PageModule chained to a Query.

  10. trait ElementPageModule extends PageModule

    A trait representing a PageModule chained to an Element.

  11. case class EmptyUnexpectedPagesFactory() extends UnexpectedPagesFactory with Product with Serializable

    Default implementation of UnexpectedPages with empty lists for cancelTestPages and failTestPages

  12. abstract class FixedQueryPageModule extends PageModule with ElementPageModule

    Use this class if you want to create a PageModule chained to a Query.

  13. class KeyboardModule extends PageModule

    PageModule for keyboard driven tests.

  14. trait OwnPageReference extends PageReference

    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.

  15. trait PageBase extends QueryDsl

    Base trait for PageObject and PageModule.

  16. abstract class PageModule extends BrowserPageDsl with DriverProvider with OwnPageReference with PageBase

    A PageModule represents a logical unit inside a PageObject.

  17. trait PageObject extends AtChecker with DefaultPageReference with ParentPageReference with PageBase

    This trait is intended to be part of the testing pattern PageObject.

  18. trait PageReference extends DriverProvider

    A PageReference is used by PageModules to point to the parent PageObject or PageModule.

  19. trait PageReferenceProvider extends DriverProvider

    Helper trait needed to work with locators directly in Suites without using PageObjects.

  20. trait ParentPageReference extends PageReference

    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.

  21. trait UnexpectedPages extends BaseUnexpectedPages[AtChecker]

    This type is used by UnexpectedPagesFactory.createUnexpectedPages()

  22. trait UnexpectedPagesFactory extends BaseUnexpectedPages[() ⇒ AtChecker]

    This type is used by to represent a list of functions returning unexpected pages.

  23. trait UnexpectedPagesFactoryProvider extends AnyRef

    Use this trait if you want to provide a UnexpectedPagesFactory.

  24. trait UrlPage extends AnyRef

    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())

Value Members

  1. object DefaultPageReference

  2. object UnexpectedPages

    UnexpectedPages will be checked by PageBrowser.at() to prevent running in a timeout when waiting for an expected page.

  3. object UnexpectedPagesFactory

    This class is used to manage the list of UnexpectedPages.

  4. object UrlPage

    companion object to create UrlPage instances that are only having an URL.

Ungrouped