gwen.web.eval.binding

Type members

Classlikes

Companion:
class
class LocatorBinding(val name: String, val selectors: List[Selector], ctx: WebContext) extends Binding[WebContext, WebElement]
Companion:
object
class LocatorBindingResolver(ctx: WebContext) extends LazyLogging

Resolves locator bindings to actual web elements.

Resolves locator bindings to actual web elements.

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

Captures a selector.

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
object Selector

Locator factory companion.

Locator factory companion.

Companion:
class
Companion:
object
Companion:
class