When this action is executed the result of evaluating result is returned by
the current run of Expect.
This allows to return data based on the regex Match.
This action can only be added to a RegexWhen.
If more than one returning action is added to a When only the last result will be returned.
Note however that every ReturningAction will still be executed.
When this action is executed the result of evaluating
result
is returned by the current run of Expect. This allows to return data based on the regex Match. This action can only be added to a RegexWhen. If more than one returning action is added to a When only the lastresult
will be returned. Note however that everyReturningAction
will still be executed.