mirror of
https://github.com/hanzoai/puppeteer.git
synced 2026-09-24 17:02:14 +00:00
761 B
761 B
sidebar_label
| sidebar_label |
|---|
| Browser.deleteMatchingCookies |
Browser.deleteMatchingCookies() method
Deletes cookies matching the provided filters from the default BrowserContext.
Signature
class Browser {
deleteMatchingCookies(...filters: DeleteCookiesRequest[]): Promise<void>;
}
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
filters |
Returns:
Promise<void>
Remarks
Shortcut for browser.defaultBrowserContext().deleteMatchingCookies().