puppeteer/website/versioned_docs/version-17.1.3/api/puppeteer.page.deletecookie.md

26 lines
480 B
Markdown
Raw Normal View History

---
sidebar_label: Page.deleteCookie
---
# Page.deleteCookie() method
**Signature:**
```typescript
class Page {
deleteCookie(
...cookies: Protocol.Network.DeleteCookiesRequest[]
): Promise<void>;
}
```
## Parameters
| Parameter | Type | Description |
| --------- | ----------------------------------------- | ----------- |
| cookies | Protocol.Network.DeleteCookiesRequest\[\] | |
**Returns:**
Promise&lt;void&gt;