Class/Object

org.pageobject.core.api

Locator

Related Docs: object Locator | package api

Permalink

abstract class Locator[E <: Element] extends DriverProvider with WaitFor

The Locator locates an Element due to a Query. If used there is either the possibility to get exactly 1 element. In this case the element: E function should be called. If more than 1 element has to be found (like a list of li items) the elements: Seq[E] function should be called.

E

the type of Elements to locate

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Locator
  2. WaitFor
  3. Logging
  4. DurationDsl
  5. DriverProvider
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Locator(elementFactory: (ElementFactory) ⇒ E)

    Permalink

    elementFactory

    factory creating a new Element instance for the given WebElement

Type Members

  1. type Duration = scala.concurrent.duration.Duration

    Permalink
    Definition Classes
    DurationDsl
  2. type FiniteDuration = scala.concurrent.duration.FiniteDuration

    Permalink
    Definition Classes
    DurationDsl
  3. type TimeUnit = java.util.concurrent.TimeUnit

    Permalink
    Attributes
    protected
    Definition Classes
    DurationDsl

Abstract Value Members

  1. abstract val query: Query

    Permalink
    Attributes
    protected
  2. abstract val reference: PageReference

    Permalink
    Attributes
    protected

Concrete 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 val DAYS: java.util.concurrent.TimeUnit(DAYS)

    Permalink
    Attributes
    protected
    Definition Classes
    DurationDsl
  5. final val HOURS: java.util.concurrent.TimeUnit(HOURS)

    Permalink
    Attributes
    protected
    Definition Classes
    DurationDsl
  6. final val MICROSECONDS: java.util.concurrent.TimeUnit(MICROSECONDS)

    Permalink
    Attributes
    protected
    Definition Classes
    DurationDsl
  7. final val MILLISECONDS: java.util.concurrent.TimeUnit(MILLISECONDS)

    Permalink
    Attributes
    protected
    Definition Classes
    DurationDsl
  8. final val MINUTES: java.util.concurrent.TimeUnit(MINUTES)

    Permalink
    Attributes
    protected
    Definition Classes
    DurationDsl
  9. final val NANOSECONDS: java.util.concurrent.TimeUnit(NANOSECONDS)

    Permalink
    Attributes
    protected
    Definition Classes
    DurationDsl
  10. final val SECONDS: java.util.concurrent.TimeUnit(SECONDS)

    Permalink
    Attributes
    protected
    Definition Classes
    DurationDsl
  11. def anyDisplayed: Boolean

    Permalink
  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. def asMap: Map[String, E]

    Permalink
  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def debug(msg: ⇒ String, throwable: ⇒ Throwable): Unit

    Permalink
    Definition Classes
    Logging
  16. def debug(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  17. implicit def doubleMult(d: Double): DoubleMult

    Permalink
    Attributes
    protected
    Definition Classes
    DurationDsl
  18. implicit def durationDouble(n: Double): DurationConversions

    Permalink
    Attributes
    protected
    Definition Classes
    DurationDsl
  19. implicit def durationInt(n: Int): DurationConversions

    Permalink
    Attributes
    protected
    Definition Classes
    DurationDsl
  20. implicit def durationLong(n: Long): DurationConversions

    Permalink
    Attributes
    protected
    Definition Classes
    DurationDsl
  21. implicit def durationToPair(d: Duration): (Long, TimeUnit)

    Permalink
    Attributes
    protected
    Definition Classes
    DurationDsl
  22. def element: E

    Permalink
  23. def elementOption: Option[E]

    Permalink
  24. def elements: Seq[E]

    Permalink
  25. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  27. def error(msg: ⇒ String, throwable: ⇒ Throwable): Unit

    Permalink
    Definition Classes
    Logging
  28. def error(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  29. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  30. final val fromNow: scala.concurrent.duration.fromNow.type

    Permalink
    Attributes
    protected
    Definition Classes
    DurationDsl
  31. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  33. def info(msg: ⇒ String, throwable: ⇒ Throwable): Unit

    Permalink
    Definition Classes
    Logging
  34. def info(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  35. implicit def intMult(i: Int): IntMult

    Permalink
    Attributes
    protected
    Definition Classes
    DurationDsl
  36. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  37. def log(level: LogLevel, msg: ⇒ String, throwable: ⇒ Throwable): Unit

    Permalink
    Definition Classes
    Logging
  38. def log(level: LogLevel, msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  39. implicit def longMult(l: Long): LongMult

    Permalink
    Attributes
    protected
    Definition Classes
    DurationDsl
  40. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  43. implicit def pairIntToDuration(p: (Int, TimeUnit)): Duration

    Permalink
    Attributes
    protected
    Definition Classes
    DurationDsl
  44. implicit def pairLongToDuration(p: (Long, TimeUnit)): FiniteDuration

    Permalink
    Attributes
    protected
    Definition Classes
    DurationDsl
  45. final val span: scala.concurrent.duration.span.type

    Permalink
    Attributes
    protected
    Definition Classes
    DurationDsl
  46. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  47. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  48. def trace(msg: ⇒ String, throwable: ⇒ Throwable): Unit

    Permalink
    Definition Classes
    Logging
  49. def trace(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  50. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. def waitFor[T](description: String, config: PatienceConfig)(fun: ⇒ T): T

    Permalink
    Attributes
    protected
    Definition Classes
    WaitFor
  54. def waitFor[T](description: String, timeout: FiniteDuration, interval: FiniteDuration)(fun: ⇒ T): T

    Permalink
    Attributes
    protected
    Definition Classes
    WaitFor
  55. def warn(msg: ⇒ String, throwable: ⇒ Throwable): Unit

    Permalink
    Definition Classes
    Logging
  56. def warn(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  57. implicit def webDriver: WebDriver

    Permalink
    Definition Classes
    LocatorDriverProvider
  58. def webElement: WebElement

    Permalink
  59. def webElementOption: Option[WebElement]

    Permalink
  60. def webElements: Seq[WebElement]

    Permalink
  61. def withPatience[T](map: PatienceMap)(fun: ⇒ T): T

    Permalink
    Attributes
    protected
    Definition Classes
    WaitFor
  62. def withPatience[T](config: (PatienceConfig, PatienceConfig)*)(fun: ⇒ T): T

    Permalink
    Attributes
    protected
    Definition Classes
    WaitFor

Inherited from WaitFor

Inherited from Logging

Inherited from DurationDsl

Inherited from DriverProvider

Inherited from AnyRef

Inherited from Any

Ungrouped