Help Centre › Building Processes
Count the number of elements that match a selector.
Add it to a process
In the process designer, open the Add step tab. Find Count elements under Browser › Read & Extract, or type its name in the search box, and drag it onto the canvas.
Fields
| Field | Required | What it does |
|---|---|---|
| Element | Yes | The element to act on. Pick how to find it, then give the value; saved alternatives appear alongside. |
| Variable | Yes | Variable name to store the element count result Default: count. |
| Visible only | No | Consider only elements that are visible on the page and not hidden. Default: off. |
See all Browser steps.
Errors
| Error | Description |
|---|---|
| Browser not open | No browser session is active |
Tips
- Returns 0 if no elements match the selector