Command Type
Command Type ID: 22Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| selector | string | CSS selector for the target elements | Yes |
| timeout | number | Timeout in milliseconds | Yes |
| filters | Filters | Optional filters to refine element selection | No |
Filters Object
| Field | Type | Description |
|---|---|---|
| className | string | Filter by class name |
| includeInnerText | Array of string | Include elements whose inner text contains these strings |
| excludeInnerText | Array of string | Exclude elements whose inner text contains these strings |
Usage Examples
Get Button Positions
Get Filtered Element Positions
Related Commands
- Get Full Elements Positions - Includes viewport/document resolution info
- Get Page Rectangle - Get the overall page dimensions