Load cookie (detailed)
Referenced In
Fields
| Field | Type | Description | Default |
|---|---|---|---|
| name | string | Required. Name of the specific cookie to load. Pattern: ^[A-Za-z0-9_.-]+$ | — |
| variable | string | Optional. Environment variable name containing the cookie as JSON string. Pattern: ^[A-Za-z0-9_.-]+$ | — |
| path | string | Optional. File path to the cookie file, in Netscape cookie format. A relative path resolves against directory, or against outputDir when directory is omitted.Minimum length: 1. Pattern: \S | — |
| directory | string | Optional. Directory containing the cookie file. A relative directory resolves against the spec file. Omit it to load from outputDir.Minimum length: 1. Pattern: \S | — |
| domain | string | Optional. Specific domain to filter the cookie by when loading from multi-cookie file (optional). | — |
Examples
{"name": "example","variable": "example","path": "example","directory": "example","domain": "example"}