mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
31 lines
1.7 KiB
Markdown
31 lines
1.7 KiB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Network](./puppeteer.protocol.network.md) > [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. |
|
|
|