@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.
17 lines (16 loc) • 539 B
TypeScript
import { NetworkCookie } from './NetworkCookie';
export declare class CookieParser {
private _input?;
private _originalInputLength?;
private _lastCookie?;
private _lastCookiePosition;
private _cookies?;
parseCookie(cookieHeader: string): NetworkCookie[] | undefined;
parseSetCookie(setCookieHeader: string): NetworkCookie[] | undefined;
private _initialize;
private flushCookie;
private _extractKeyValue;
private toCamelCase;
private advanceAndCheckCookieDelimiter;
private addCookie;
}