For each browser element
For each browser element
Loops over every element of a list captured by the Get elements action. The actions inside the loop run once per element, so you can work with each item the search returned individually.
Options
Element
A reference to the Get elements action whose list is iterated over. Pick the action that captured the elements you want.
Returns
On each pass of the loop, the inner actions get these variables:
Field selection
- currentResult — the current pass's HTML element, available in the Element ID field of actions such as Click and Insert text
- currentResultIndex — the current pass's numeric index in the list (starting at
0)
Rules and conditions
- Element is required and has to reference a Get elements action.
- The actions inside the loop run once per element in the returned list.
- With an empty list, the loop does not run at all.