Selector

case class Selector(selectorType: SelectorType, expression: String, relative: Option[(RelativeSelectorType, LocatorBinding, Option[Int])], isContainer: Boolean, timeout: Option[Duration], index: Option[Int])

Captures a selector.

Value parameters:
expression

the selector expression

index

optional index (if selector returns more than one element then index is required)

isContainer

true if this is a selector for a container element, false otherwise

relative

optional relative selector and binding

selectorType

the seletor type

timeout

optional timeout (defaults to gwen.web.locator.wait.seconds if not provided)

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Returns:

a string representation of the object.

Definition Classes
Any

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product

Concrete fields

lazy val timeoutMilliseconds: Long
lazy val timeoutSeconds: Long