Package

org.pageobject.core

browser

Permalink

package browser

Visibility
  1. Public
  2. All

Type Members

  1. trait PageBrowser extends WaitFor with PageHolder with Logging

    Permalink

    This trait provides page object navigation support.

    This trait provides page object navigation support.

    It should be used by your tests, not by page objects.

  2. trait PageHolder extends DriverProvider

    Permalink

    Manages the currently active page, used by PageBrowser

  3. trait PageHolderWatcher extends AnyRef

    Permalink

Value Members

  1. object PageBrowser extends WaitFor

    Permalink

    Patience configuration for PageBrowser

  2. object PageHolder

    Permalink

    While instantiating a Page the PageHolder will be stored here.

    While instantiating a Page the PageHolder will be stored here.

    This allowes a cleaner syntax for PageObjects without passing the PageHolder around.

    Because of this it is only allowed to create PageObjects for arguments passed to PageBrowser.to(page), PageBrowser.via(page), PageBrowser.at(page), PageBrowser.isAt(page) or UnexpectedPages

    This allows the PageObject to be completely stateless, only the PageHolder owns a state (the active Page). Because a PageObject needs a reference to the PageHolder to ask for the WebDriver, and this should not be mutable, this information needs to be passed at creation time. Because we do not want to write boilerplate code for PageObjects, this PageHolder object is used.

Ungrouped