[Home](./index.md) > [puppeteer](./puppeteer.md) > [Page](./puppeteer.page.md) > [setCookie](./puppeteer.page.setcookie.md)
## Page.setCookie() method
Signature:
```typescript
setCookie(...cookies: Protocol.Network.CookieParam[]): Promise;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| cookies | [Protocol.Network.CookieParam](./puppeteer.protocol.network.cookieparam.md)\[\] | |
Returns:
Promise<void>