Trait

org.pageobject.core.page

PageBase

Related Doc: package page

Permalink

trait PageBase extends QueryDsl

Base trait for PageObject and PageModule.

Self Type
PageBase with PageReference
Linear Supertypes
QueryDsl, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PageBase
  2. QueryDsl
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 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
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. 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
  8. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

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

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

    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. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. 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
  16. 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
  17. 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
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  21. 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
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. 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
  24. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. 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 QueryDsl

Inherited from AnyRef

Inherited from Any

Ungrouped