mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
30 lines
1.8 KiB
Markdown
30 lines
1.8 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) > [CookieParam](./puppeteer.protocol.network.cookieparam.md)
|
||
|
|
||
|
## Protocol.Network.CookieParam interface
|
||
|
|
||
|
Cookie parameter object
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
export interface CookieParam
|
||
|
```
|
||
|
|
||
|
## Properties
|
||
|
|
||
|
| Property | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| [domain](./puppeteer.protocol.network.cookieparam.domain.md) | string | Cookie domain. |
|
||
|
| [expires](./puppeteer.protocol.network.cookieparam.expires.md) | [TimeSinceEpoch](./puppeteer.protocol.network.timesinceepoch.md) | Cookie expiration date, session cookie if not set |
|
||
|
| [httpOnly](./puppeteer.protocol.network.cookieparam.httponly.md) | boolean | True if cookie is http-only. |
|
||
|
| [name](./puppeteer.protocol.network.cookieparam.name.md) | string | Cookie name. |
|
||
|
| [path](./puppeteer.protocol.network.cookieparam.path.md) | string | Cookie path. |
|
||
|
| [priority](./puppeteer.protocol.network.cookieparam.priority.md) | [CookiePriority](./puppeteer.protocol.network.cookiepriority.md) | Cookie Priority. |
|
||
|
| [sameSite](./puppeteer.protocol.network.cookieparam.samesite.md) | [CookieSameSite](./puppeteer.protocol.network.cookiesamesite.md) | Cookie SameSite type. |
|
||
|
| [secure](./puppeteer.protocol.network.cookieparam.secure.md) | boolean | True if cookie is secure. |
|
||
|
| [url](./puppeteer.protocol.network.cookieparam.url.md) | 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](./puppeteer.protocol.network.cookieparam.value.md) | string | Cookie value. |
|
||
|
|