Instance Constructors
-
new
Locator(elementFactory: (ElementFactory) ⇒ E)
Abstract Value Members
-
abstract
val
query: Query
-
Concrete Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
def
anyDisplayed: Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
asMap: Map[String, E]
-
def
clone(): AnyRef
-
def
element: E
-
def
elementOption: Option[E]
-
def
elements: Seq[E]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
implicit
def
webDriver: WebDriver
-
def
webElement: WebElement
-
def
webElementOption: Option[WebElement]
-
def
webElements: Seq[WebElement]
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