Command Type
Command Type ID: 10Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| code | string | The JavaScript code to execute | Yes |
| timeout | number | Timeout in milliseconds | Yes |
Usage Examples
Extract Data from Page
Scroll to Bottom of Page
Trigger Custom Logic
Common Use Cases
- Custom Extraction: Extract deeply nested or dynamically computed data from
window - DOM Manipulation: Trigger interactions that require custom JS
- Scraping Utilities: Run helper scripts for pagination, scrolling, or data normalization
Related Commands
- Get Window Data - Structured
windowproperty access - Click by Javascript - JS click without custom code