Skip to navigation

Load cookie (detailed)

Referenced In

Fields

FieldTypeDescriptionDefault
namestringRequired. Name of the specific cookie to load.

Pattern: ^[A-Za-z0-9_.-]+$
—
variablestringOptional. Environment variable name containing the cookie as JSON string.

Pattern: ^[A-Za-z0-9_.-]+$
—
pathstringOptional. 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
—
directorystringOptional. Directory containing the cookie file. A relative directory resolves against the spec file. Omit it to load from outputDir.

Minimum length: 1. Pattern: \S
—
domainstringOptional. 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"
}