DeleteCookiesRequest interface
Signature
export interface DeleteCookiesRequest
Properties
Property
|
Modifiers
|
Type
|
Description
|
Default
|
domain
|
`optional`
|
string
|
If specified, deletes only cookies with the exact domain.
|
|
name
|
|
string
|
Name of the cookies to remove.
|
|
partitionKey
|
`optional`
|
[CookiePartitionKey](./puppeteer.cookiepartitionkey.md) \| string
|
If specified, deletes cookies in the given partition key. In Chrome, partitionKey matches the top-level site the partitioned cookie is available in. In Firefox, it matches the source origin in the [PartitionKey](https://w3c.github.io/webdriver-bidi/#type-storage-PartitionKey).
|
|
path
|
`optional`
|
string
|
If specified, deletes only cookies with the exact path.
|
|
url
|
`optional`
|
string
|
If specified, deletes all the cookies with the given name where domain and path match provided URL. Otherwise, deletes only cookies related to the current page's domain.
|
|