org.pageobject.core.browser

PageHolder

trait PageHolder extends DriverProvider

Manages the currently active page, used by PageBrowser

Linear Supertypes
DriverProvider, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PageHolder
  2. DriverProvider
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. implicit abstract def webDriver: WebDriver

    Attributes
    protected[org.pageobject]
    Definition Classes
    DriverProvider

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def activePage: Option[AtChecker]

    returns

    the active page

    Attributes
    protected
  7. def activePage_=(page: Option[AtChecker]): Unit

    Marks the given page as active.

    Marks the given page as active.

    Attributes
    protected
  8. def activePage_=(page: AtChecker): Unit

    Marks the given page as active.

    Marks the given page as active.

    Attributes
    protected
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clearActivePage(): Unit

    Marks the active page as inactive.

    Marks the active page as inactive.

    Attributes
    protected
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def failOnInactivePage(pageObject: PageObject): Unit

    Abort the test when the given PageObject is not the active one.

    Abort the test when the given PageObject is not the active one.

    pageObject

    the PageObject to test

    Attributes
    protected[org.pageobject]
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. def invalidateActivePage(): Unit

    Marks the active page as inactive.

    Marks the active page as inactive.

    Attributes
    protected[org.pageobject]
  19. def invalidatePage(pageObject: PageObject): Unit

    Marks the given page as inactive.

    Marks the given page as inactive.

    Attributes
    protected[org.pageobject]
  20. def isActivePage(page: AtChecker): Boolean

    returns true if the given page is the active

    returns true if the given page is the active

    page

    the page to check

    returns

    true if the given page is active

    Attributes
    protected[org.pageobject]
  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toString(): String

    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. def withActivePage[S](page: AtChecker)(thunk: ⇒ S): S

    Executes the given code while setting page as the active page.

    Executes the given code while setting page as the active page.

    S

    the type of the return value

    page

    the page to activate while executing thunk

    thunk

    the code to execute

    returns

    the value returned by thunk

    Attributes
    protected

Inherited from DriverProvider

Inherited from AnyRef

Inherited from Any

Ungrouped