Skip to navigation

Save cookie (detailed)

Referenced In

Fields

FieldTypeDescriptionDefault
$schemastringOptional self-describing schema URI for linters—
namestringRequired. Name of the specific cookie to save.

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

Pattern: ^[A-Za-z_][A-Za-z0-9_]*$
—
pathstringOptional. File path to save the cookie, relative to directory. Uses Netscape cookie format.—
directorystringOptional. Directory to save the cookie file. If not specified, uses output directory.—
overwritebooleanOptional. Whether to overwrite existing cookie file.false
domainstringOptional. Specific domain to filter the cookie by (optional).—

Examples

{
"$schema": "example",
"name": "example",
"variable": "example",
"path": "example",
"directory": "example",
"overwrite": false,
"domain": "example"
}