Skip to content

Loop elements

  • Type browser.loopElements
  • Group Browser
  • Role action
  • Risk reads only
  • Side effect safe to repeat
  • Runs once per execution
  • Needs browser

Outputs one item per matching element, to act on each

Also available to AI agents and over MCP as a tool.

selector

Selector · string · required

Every element matching this selector becomes one item, in page order.

limit

Limit · integer · optional · default 50 · range 1 – 1000

Stop after this many elements.

visibleOnly

Visible only · boolean · optional · default true

attributes

Attributes · array · optional

Attributes to read from each element (text, href, src…).

into

Into field · string · optional · default element

  • main

← All nodes