puppeteer/new-docs/puppeteer.protocol.network.cookie.md
2020-07-13 14:01:35 +01:00

31 lines
1.7 KiB
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Network](./puppeteer.protocol.network.md) &gt; [Cookie](./puppeteer.protocol.network.cookie.md)
## Protocol.Network.Cookie interface
Cookie object
<b>Signature:</b>
```typescript
export interface Cookie
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [domain](./puppeteer.protocol.network.cookie.domain.md) | string | Cookie domain. |
| [expires](./puppeteer.protocol.network.cookie.expires.md) | number | Cookie expiration date as the number of seconds since the UNIX epoch. |
| [httpOnly](./puppeteer.protocol.network.cookie.httponly.md) | boolean | True if cookie is http-only. |
| [name](./puppeteer.protocol.network.cookie.name.md) | string | Cookie name. |
| [path](./puppeteer.protocol.network.cookie.path.md) | string | Cookie path. |
| [priority](./puppeteer.protocol.network.cookie.priority.md) | [CookiePriority](./puppeteer.protocol.network.cookiepriority.md) | Cookie Priority |
| [sameSite](./puppeteer.protocol.network.cookie.samesite.md) | [CookieSameSite](./puppeteer.protocol.network.cookiesamesite.md) | Cookie SameSite type. |
| [secure](./puppeteer.protocol.network.cookie.secure.md) | boolean | True if cookie is secure. |
| [session](./puppeteer.protocol.network.cookie.session.md) | boolean | True in case of session cookie. |
| [size](./puppeteer.protocol.network.cookie.size.md) | [integer](./puppeteer.protocol.integer.md) | Cookie size. |
| [value](./puppeteer.protocol.network.cookie.value.md) | string | Cookie value. |