gwen.web.eval.binding
package gwen.web.eval.binding
Type members
Classlikes
class LocatorBinding(val name: String, val selectors: List[Selector], ctx: WebContext) extends Binding[WebContext, WebElement]
- Companion:
- object
Resolves locator bindings to actual web elements.
Resolves locator bindings to actual web elements.
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.secondsif not provided)
- Companion:
- object