PhantomJsCloud Automation API
    Preparing search index...

    Interface SetCookie

    interface SetCookie {
        domain?: string;
        expires?: number;
        httpOnly?: boolean;
        name: string;
        path?: string;
        sameSite?: SameSiteSetting;
        secure?: boolean;
        session?: boolean;
        url?: string;
        value: string;
    }
    Index
    domain?: string

    The cookie domain.

    expires?: number

    The cookie Unix expiration time in seconds.

    httpOnly?: boolean

    The cookie http only flag.

    name: string

    The cookie name.

    path?: string

    The cookie path.

    sameSite?: SameSiteSetting

    The cookie same site definition.

    secure?: boolean

    The cookie secure flag.

    session?: boolean

    The session cookie flag.

    url?: string

    The request-URI to associate with the setting of the cookie. This value can affect the default domain and path values of the created cookie.

    value: string

    The cookie value.