Command Type
Command Type ID: 20Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| timeout | number | Timeout in milliseconds | Yes |
Usage Examples
Get Page Dimensions
Common Use Cases
- Viewport Awareness: Determine page size before calculating element positions
- Scroll Calculations: Use page dimensions to calculate scroll targets
Related Commands
- Get Elements Positions - Get positions of specific elements
- Get Full Elements Positions - Full element positions with viewport info