Do

Repeatedly evaluates the given sequence until an empty sequence is found, and outputs the concatenation of the sequences, including the current state. To exclude the current state, use Sequence.While instead.

Syntax

Sequence.Do
   ·  [next]

Parameters

next
The sequence to evaluate.

Remarks

As an example of how this action can be used, the following is how the Browser.TurnPages action is internally defined:

function (nextButton)
   Sequence.Do
      ·  Sequence.First
            ·  nextButton
         Browser.Navigate