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

28 lines
1.8 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; [SetCookieRequest](./puppeteer.protocol.network.setcookierequest.md)
## Protocol.Network.SetCookieRequest interface
<b>Signature:</b>
```typescript
export interface SetCookieRequest
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [domain](./puppeteer.protocol.network.setcookierequest.domain.md) | string | Cookie domain. |
| [expires](./puppeteer.protocol.network.setcookierequest.expires.md) | [TimeSinceEpoch](./puppeteer.protocol.network.timesinceepoch.md) | Cookie expiration date, session cookie if not set |
| [httpOnly](./puppeteer.protocol.network.setcookierequest.httponly.md) | boolean | True if cookie is http-only. |
| [name](./puppeteer.protocol.network.setcookierequest.name.md) | string | Cookie name. |
| [path](./puppeteer.protocol.network.setcookierequest.path.md) | string | Cookie path. |
| [priority](./puppeteer.protocol.network.setcookierequest.priority.md) | [CookiePriority](./puppeteer.protocol.network.cookiepriority.md) | Cookie Priority type. |
| [sameSite](./puppeteer.protocol.network.setcookierequest.samesite.md) | [CookieSameSite](./puppeteer.protocol.network.cookiesamesite.md) | Cookie SameSite type. |
| [secure](./puppeteer.protocol.network.setcookierequest.secure.md) | boolean | True if cookie is secure. |
| [url](./puppeteer.protocol.network.setcookierequest.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.setcookierequest.value.md) | string | Cookie value. |