Command Type
Command Type ID: 21Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| functions | Array of string | List of native document functions to override. Each must be a valid method/property of the Document object | Yes |
| timeout | number | Timeout in milliseconds | Yes |
Common Function Keys
"cookie", "title", "domain", "referrer", "URL", "readyState", "visibilityState", "hidden", "body", "head"
Usage Examples
Override document.cookie
Override Multiple Properties
Common Use Cases
- Anti-Detection: Override properties that anti-scraping systems check
- State Interception: Intercept cookie or title changes for tracking
Related Commands
- Run Custom Code - Arbitrary JS execution
- Override Headers - Override network request headers