window object and optionally transforms it using an ObjectMapper.
Command Type
Command Type ID: 7Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| path | Array of string or number | Path to the desired property in the window object | Yes |
| timeout | number | Timeout in milliseconds | Yes |
| mapper | ObjectMapper | Optional mapper for transforming extracted data | No |
ObjectMapper
| Field | Type | Description |
|---|---|---|
| properties | Array of string | Properties to include (all if omitted) |
| mappers | Array of PropertyMapper | Property-level nested mappers |
| globalMappers | Array of PropertyMapper | Mappers applied globally to matching properties |
Usage Examples
Get a Window Property
Get and Filter Properties
Related Commands
- Get Window Data Simple - Simpler dot-path variant
- Set Window Data - Write a value to the window object