UNPKG

@neuralegion/cypress-har-generator

Version:

The Cypress plugin for generating HTTP Archive (HAR) files is a tool that allows developers and QA engineers to capture detailed information about network requests made during the execution of Cypress tests.

37 lines (36 loc) 1.04 kB
export declare enum CookieAttribute { NAME = "name", VALUE = "value", SIZE = "size", DOMAIN = "domain", PORT = "port", PATH = "path", EXPIRES = "expires", HTTPONLY = "httponly", SECURE = "secure", SAMESITE = "samesite", MAXAGE = "max-age" } export declare class NetworkCookie { private readonly _name; private readonly _value; private _attributes; private _size; get size(): number; set size(size: number); get name(): string; get value(): string; get httpOnly(): boolean; get secure(): boolean; get sameSite(): 'Strict' | 'Lax' | 'None' | undefined; get session(): boolean | undefined; get path(): string | undefined; get port(): string | undefined; get domain(): string | undefined; get expires(): string | undefined; get maxAge(): number | undefined; get url(): string; constructor(name: string, value: string); expiresDate(requestDate: Date): Date | undefined; addAttribute(key: string, value?: string): void; }