LocatorBinding

gwen.web.eval.binding.LocatorBinding
See theLocatorBinding companion object
class LocatorBinding(val name: String, val selectors: List[Selector], ctx: WebContext) extends Binding[WebContext, WebElement]

Attributes

Companion
object
Graph
Supertypes
class Binding[WebContext, WebElement]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

Gets the javascript equivalent of this locator binding (used as fallback on stale element reference).

Gets the javascript equivalent of this locator binding (used as fallback on stale element reference).

Attributes

override def resolve(): WebElement

Resolves the bound value

Resolves the bound value

Attributes

Returns

the bound value

Definition Classes
Binding
def resolveAll(): List[WebElement]
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
def withTimeout(timeout: Option[Duration]): LocatorBinding

Inherited methods

def displayName: String

Attributes

Inherited from:
Binding
def resolveDryValue(defaultValue: String): String

Looks up an optional dry run value

Looks up an optional dry run value

Value parameters

key

the bound value key

Attributes

Returns

the resolved and interpolated value

Inherited from:
Binding
def resolveDryValueOpt(): Option[String]

Looks up an optional dry run value

Looks up an optional dry run value

Value parameters

key

the bound value key

Attributes

Returns

the resolved and interpolated value

Inherited from:
Binding

Concrete fields

val name: String
val selectors: List[Selector]
lazy val timeoutSeconds: Long