ElementsLocator to define the target.
Command Type
Command Type ID: 6Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| elementsLocator | ElementsLocator | Defines how to locate the target elements | Yes |
| timeout | number | Timeout for the command in milliseconds | Yes |
ElementsLocator
| Field | Type | Description | Required |
|---|---|---|---|
| selector | string | CSS selector | Yes |
| continueWith | ElementsLocator | Continue search within found element | No |
| hasChildren | ElementsLocator | Filter elements that have matching children | No |
| index | number | Select element by index | No |
| innerText | string | Filter by inner text | No |
Usage Examples
Wait for a Loading Indicator to Disappear
Wait for a Specific Item
Related Commands
- Get Text Contents - Extract text after waiting
- Click by Javascript - Click after waiting