Command Type
Command Type ID: 8Parameters
ElementsLocator
Usage Examples
Get All Table Rows
Related Commands
- Get Text Contents - Get only text content
- Get Attributes - Get only element attributes
- Get Inner Texts - Get visible inner text
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Retrieve DOM elements and return their detailed representations
| Parameter | Type | Description | Required |
|---|---|---|---|
| elementsLocator | ElementsLocator | Specifies the criteria to locate target elements | Yes |
| timeout | number | Timeout in milliseconds | Yes |
| Field | Type | Description | Required |
|---|---|---|---|
| selector | string | CSS selector | Yes |
| continueWith | ElementsLocator | Continue search within found element | No |
| hasChildren | ElementsLocator | Filter elements with matching children | No |
| index | number | Select element by index | No |
| innerText | string | Filter by inner text | No |
{
"command": "get-elements",
"params": {
"elementsLocator": { "selector": "table.data tr" },
"timeout": 10000
}
}