Get Element Count
Count elements matching the selector.
Web BrowserGetCount
What it does
Count elements matching the selector.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Browser instance | variable | Required | browser | Name that identifies this browser session. |
| Selector type | dropdownCSS · XPath · ID · Name · Text | Required | CSS | |
| Selector | string | Required | Element selector (matches the selector type). Example: #submit Supports variables | |
| Store count in | variable | Required | Example: count |
More Web Browser commands
Ready to automate your busywork?
Start your free 10-day trial today. No credit card, no commitment.