Represents commands of Storage module. Described in https://w3c.github.io/webdriver-bidi/#module-storage.
Deletes cookies based on the provided filter and partition.
| Name | Type | Attributes | Description |
|---|---|---|---|
cookieFilter | CookieFilter | <optional> | The filter to apply to the cookies. Must be an instance of CookieFilter. |
partition | BrowsingContextPartitionDescriptor | | <optional> | The partition to delete cookies from. Must be an instance of either BrowsingContextPartitionDescriptor or StorageKeyPartitionDescriptor. |
Retrieves cookies based on the provided filter and partition.
| Name | Type | Attributes | Description |
|---|---|---|---|
filter | CookieFilter | <optional> | The filter to apply to the cookies. |
partition | BrowsingContextPartitionDescriptor | | <optional> | The partition to retrieve cookies from. |
If the filter parameter is provided but is not an instance of CookieFilter.
If the partition parameter is provided but is not an instance of BrowsingContextPartitionDescriptor or StorageKeyPartitionDescriptor.
Sets a cookie using the provided cookie object and partition.
| Name | Type | Attributes | Description |
|---|---|---|---|
cookie | PartialCookie | The cookie object to set. | |
partition | BrowsingContextPartitionDescriptor | | <optional> | The partition to use for the cookie. |
If the cookie parameter is not an instance of PartialCookie or if the partition parameter is not an instance of PartitionDescriptor.
The partition key of the set cookie.