Class

org.pageobject.core

BrowserErrorPage

Related Doc: package core

Permalink

case class BrowserErrorPage() extends PageObject with Product with Serializable

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.

Linear Supertypes
Serializable, Serializable, Product, Equals, PageObject, PageBase, QueryDsl, ParentPageReference, DefaultPageReference, PageReference, DriverProvider, AtChecker, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BrowserErrorPage
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. PageObject
  7. PageBase
  8. QueryDsl
  9. ParentPageReference
  10. DefaultPageReference
  11. PageReference
  12. DriverProvider
  13. AtChecker
  14. AnyRef
  15. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BrowserErrorPage()

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def atChecker(): Boolean

    Permalink
    Definition Classes
    BrowserErrorPageAtChecker
  6. def className(className: String): ClassNameQuery

    Permalink

    Returns a class name query.

    Returns a class name query.

    This method enables syntax such as the following:

    private val foo = $(className("foo"))

    className("class") will select the same elements like cssSelector(".class"). See also the example in documentation of trait QueryDsl.

    className

    the query string for this query.

    Attributes
    protected
    Definition Classes
    QueryDsl
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. object content extends PageModule with BrowserControlDsl

    Permalink
  9. def cssSelector(cssSelector: String): CssSelectorQuery

    Permalink

    Returns a CSS selector query.

    Returns a CSS selector query.

    This method enables syntax such as the following:

    private val foo = $(cssSelector("foo"))

    See also the example in documentation of trait QueryDsl.

    cssSelector

    the query string for this query.

    Attributes
    protected
    Definition Classes
    QueryDsl
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def id(elementId: String): IdQuery

    Permalink

    Returns an ID query.

    Returns an ID query.

    This method enables syntax such as the following:

    private val foo = $(id("foo"))

    id("someid") will select the same elements like cssSelector("#someid"). See also the example in documentation of trait QueryDsl.

    elementId

    the query string for this query.

    Attributes
    protected
    Definition Classes
    QueryDsl
  14. def invalidatePage(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    PageObject
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def linkText(linkText: String): LinkTextQuery

    Permalink

    Returns a link text query.

    Returns a link text query.

    This method enables syntax such as the following:

    private val foo = $(linkText("foo"))

    See also the example in documentation of trait QueryDsl.

    linkText

    the query string for this query.

    Attributes
    protected
    Definition Classes
    QueryDsl
  17. def modules[T <: ElementPageModule](query: Query, factory: (Element) ⇒ T): Seq[T]

    Permalink

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

    T

    the Type of the ElementPageModule

    query

    the query to execute

    factory

    A function returning a ElementPageModule for the given Element.

    returns

    A Seq of created ElementPageModules, can be empty.

    Attributes
    protected
    Definition Classes
    PageBase
  18. def name(elementName: String): NameQuery

    Permalink

    Returns a name query.

    Returns a name query.

    This method enables syntax such as the following:

    private val foo = $(name("foo"))

    See also the example in documentation of trait QueryDsl.

    elementName

    the query string for this query.

    Attributes
    protected
    Definition Classes
    QueryDsl
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. implicit def pageObject: PageObject

    Permalink
    Attributes
    protected
    Definition Classes
    PageObject
  23. def pageTitle: String

    Permalink
    Attributes
    protected
    Definition Classes
    PageObject
  24. val parent: Option[PageReference]

    Permalink

    returns

    The parent PageModule or PageObject

    Attributes
    protected[org.pageobject]
    Definition Classes
    PageObjectDefaultPageReferencePageReference
  25. def partialLinkText(partialLinkText: String): PartialLinkTextQuery

    Permalink

    Returns a partial link text query.

    Returns a partial link text query.

    This method enables syntax such as the following:

    private val foo = $(partialLinkText("foo"))

    See also the example in documentation of trait QueryDsl.

    partialLinkText

    the query string for this query.

    Attributes
    protected
    Definition Classes
    QueryDsl
  26. def rootElement: Option[Element]

    Permalink

    Returns the Element containg the PageModule.

    Returns the Element containg the PageModule. PageObjects will always return None.

    returns

    Element containg the PageModule

    Attributes
    protected[org.pageobject]
    Definition Classes
    DefaultPageReferencePageReference
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def tagName(tagName: String): TagNameQuery

    Permalink

    Returns a tag name query.

    Returns a tag name query.

    This method enables syntax such as the following:

    private val foo = $(tagName("foo"))

    tagName("div") will select the same elements like cssSelector("div"). See also the example in documentation of trait QueryDsl.

    tagName

    the query string for this query.

    Attributes
    protected
    Definition Classes
    QueryDsl
  29. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. implicit def webDriver: WebDriver

    Permalink
    Attributes
    protected[org.pageobject]
    Definition Classes
    PageObjectDefaultPageReferenceDriverProvider
  33. def xpath(xpath: String): XPathQuery

    Permalink

    Returns an XPath query.

    Returns an XPath query.

    This method enables syntax such as the following:

    private val foo = $(xpath("foo"))

    See also the example in documentation of trait QueryDsl.

    xpath

    the query string for this query.

    Attributes
    protected
    Definition Classes
    QueryDsl

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from PageObject

Inherited from PageBase

Inherited from QueryDsl

Inherited from ParentPageReference

Inherited from DefaultPageReference

Inherited from PageReference

Inherited from DriverProvider

Inherited from AtChecker

Inherited from AnyRef

Inherited from Any

Ungrouped