mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
28 lines
1.8 KiB
Markdown
28 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) > [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. |
|
||
|
|