WebEngine
A web engine that uses the Selenium web driver API to automate various web operations.
Value members
Concrete methods
Initialises and returns a new evaluation context.
Initialises and returns a new evaluation context.
- Value parameters:
- envState
the initial environment state
- options
command line options
- Definition Classes
- EvalEngine
Translates composite web engine steps.
Translates composite web engine steps.
- Definition Classes
- EvalEngine -> StepTranslator
Translates a web engine step. This method matches the incoming step against a set of supported steps and returns an operation that will evaluate those that are successfully matched.
Translates a web engine step. This method matches the incoming step against a set of supported steps and returns an operation that will evaluate those that are successfully matched.
- Value parameters:
- ctx
the web evaluation context
- step
the step to evaluate
- Definition Classes
- EvalEngine -> StepTranslator
Inherited methods
Checks that a background satisfies behavior rules before evaluation.
Checks that a background satisfies behavior rules before evaluation.
- Value parameters:
- background
the background to check
- specType
the spec type currently being evaluated
- Inherited from:
- BehaviorRules
Checks that a scenario or stepdef satisfies behavior rules before evaluation.
Checks that a scenario or stepdef satisfies behavior rules before evaluation.
- Value parameters:
- scenario
the scenario to check
- specType
the spec type currently being evaluated
- Inherited from:
- BehaviorRules
Checks that a step def called in a feature satisfies behavoiur rules at evaluation.
Checks that a step def called in a feature satisfies behavoiur rules at evaluation.
- Value parameters:
- env
the environment context
- step
the step to check
- Inherited from:
- BehaviorRules
Checks that a step called in a feature satisfies behavoiur rules at evaluation.
Checks that a step called in a feature satisfies behavoiur rules at evaluation.
- Value parameters:
- actualBehavior
the actual behavior type of the step
- env
the environment context
- step
the step to check
- Inherited from:
- BehaviorRules
Interprets a feature unit.
Interprets a feature unit.
- Value parameters:
- ctx
the evaluation context
- unit
the feature unit to process
- Inherited from:
- UnitEngine
Binds all accumulated attachments to the given step.
Binds all accumulated attachments to the given step.
- Value parameters:
- step
the step to bind attachments to
- Returns:
the step with accumulated attachments
- Inherited from:
- StepEngine
Interprets and evaluates single step expression.
Interprets and evaluates single step expression.
- Value parameters:
- ctx
the evaluation context
- stepExpression
the input step expression
- Returns:
the evaluated step (or an exception if a runtime error occurs)
- Inherited from:
- StepEngine
Normalises a parsed feature.
Normalises a parsed feature.
- Value parameters:
- dataRecord
optional feature level data record
- spec
the feature spec
- Inherited from:
- SpecNormaliser
Produces a complete feature spec tree (this method is used to parse entire features).
Produces a complete feature spec tree (this method is used to parse entire features).
- Inherited from:
- GherkinParser
Parses a Gherkin feature specification
Parses a Gherkin feature specification
- Inherited from:
- GherkinParser
Produces a step node (this method is used by the REPL to read in invididual steps only)
Produces a step node (this method is used by the REPL to read in invididual steps only)
- Inherited from:
- GherkinParser
- Inherited from:
- NodeEventDispatcher