Selector

gwen.web.eval.binding.Selector
See theSelector companion object
case class Selector(selectorType: SelectorType, expression: String, relative: Option[(RelativeSelectorType, LocatorBinding, Option[Int])], isContainer: Boolean, timeout: 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

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def hasTimeoutOverride: Boolean
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

lazy val timeoutMilliseconds: Long
lazy val timeoutSeconds: Long