Documentation Index
Fetch the complete documentation index at: https://docs.domshot.dev/llms.txt
Use this file to discover all available pages before exploring further.
Custom Cookies
Set custom cookies to capture screenshots of authenticated pages or specific user states.Basic usage
bash
Cookie object format
Required fields
| Field | Type | Description |
|---|---|---|
name | string | Cookie name |
value | string | Cookie value |
domain | string | Cookie domain |
Optional fields
| Field | Type | Description |
|---|---|---|
path | string | Cookie path (default: /) |
httpOnly | boolean | HTTP-only flag (default: false) |
secure | boolean | Secure flag (default: false) |
sameSite | string | SameSite policy: Strict, Lax, or None |
Multiple cookies
bash
Parameters
| Parameter | Type | Description |
|---|---|---|
customCookies | string | JSON array of cookie objects |
See also
- Custom Headers - Set custom HTTP headers
- Custom User Agent - Set custom user agent