Instance Constructors
-
new
Locator(elementFactory: (ElementFactory) ⇒ E)
Type Members
-
type
Duration = scala.concurrent.duration.Duration
-
type
FiniteDuration = scala.concurrent.duration.FiniteDuration
-
type
TimeUnit = java.util.concurrent.TimeUnit
Abstract Value Members
-
abstract
val
query: Query
-
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
val
DAYS: java.util.concurrent.TimeUnit(DAYS)
-
final
val
HOURS: java.util.concurrent.TimeUnit(HOURS)
-
final
val
MICROSECONDS: java.util.concurrent.TimeUnit(MICROSECONDS)
-
final
val
MILLISECONDS: java.util.concurrent.TimeUnit(MILLISECONDS)
-
final
val
MINUTES: java.util.concurrent.TimeUnit(MINUTES)
-
final
val
NANOSECONDS: java.util.concurrent.TimeUnit(NANOSECONDS)
-
final
val
SECONDS: java.util.concurrent.TimeUnit(SECONDS)
-
def
anyDisplayed: Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
asMap: Map[String, E]
-
def
clone(): AnyRef
-
def
debug(msg: ⇒ String, throwable: ⇒ Throwable): Unit
-
def
debug(msg: ⇒ String): Unit
-
implicit
def
doubleMult(d: Double): DoubleMult
-
implicit
def
durationDouble(n: Double): DurationConversions
-
implicit
def
durationInt(n: Int): DurationConversions
-
implicit
def
durationLong(n: Long): DurationConversions
-
implicit
def
durationToPair(d: Duration): (Long, TimeUnit)
-
def
element: E
-
def
elementOption: Option[E]
-
def
elements: Seq[E]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
error(msg: ⇒ String, throwable: ⇒ Throwable): Unit
-
def
error(msg: ⇒ String): Unit
-
def
finalize(): Unit
-
final
val
fromNow: scala.concurrent.duration.fromNow.type
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
def
info(msg: ⇒ String, throwable: ⇒ Throwable): Unit
-
def
info(msg: ⇒ String): Unit
-
implicit
def
intMult(i: Int): IntMult
-
final
def
isInstanceOf[T0]: Boolean
-
def
log(level: LogLevel, msg: ⇒ String, throwable: ⇒ Throwable): Unit
-
def
log(level: LogLevel, msg: ⇒ String): Unit
-
implicit
def
longMult(l: Long): LongMult
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
implicit
def
pairIntToDuration(p: (Int, TimeUnit)): Duration
-
implicit
def
pairLongToDuration(p: (Long, TimeUnit)): FiniteDuration
-
final
val
span: scala.concurrent.duration.span.type
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
trace(msg: ⇒ String, throwable: ⇒ Throwable): Unit
-
def
trace(msg: ⇒ String): Unit
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
waitFor[T](description: String, config: PatienceConfig)(fun: ⇒ T): T
-
def
waitFor[T](description: String, timeout: FiniteDuration, interval: FiniteDuration)(fun: ⇒ T): T
-
def
warn(msg: ⇒ String, throwable: ⇒ Throwable): Unit
-
def
warn(msg: ⇒ String): Unit
-
implicit
def
webDriver: WebDriver
-
def
webElement: WebElement
-
def
webElementOption: Option[WebElement]
-
def
webElements: Seq[WebElement]
-
def
withPatience[T](map: PatienceMap)(fun: ⇒ T): T
-
Inherited from AnyRef
Inherited from Any
The Locator locates an
Element
due to aQuery
. If used there is either the possibility to get exactly 1 element. In this case theelement: E
function should be called. If more than 1 element has to be found (like a list of li items) theelements: Seq[E]
function should be called.the type of Elements to locate