Represents a filter for fetching cookies. Described in https://w3c.github.io/webdriver-bidi/#command-storage-getCookies
Sets the domain for the cookie.
| Name | Type | Description |
|---|---|---|
domain | string | The domain to set. |
Sets the expiry value.
| Name | Type | Description |
|---|---|---|
expiry | number | The expiry value. |
Sets thehttpOnly flag for the cookie filter.
| Name | Type | Description |
|---|---|---|
httpOnly | boolean | The value to set for the |
Sets the name of the cookie.
| Name | Type | Description |
|---|---|---|
name | string | The name of the cookie. |
Sets the url path for the cookie to be fetched.
| Name | Type | Description |
|---|---|---|
path | string | The url path for the cookie to be fetched. |
Sets the SameSite attribute for the cookie.
| Name | Type | Description |
|---|---|---|
sameSite | SameSite | The SameSite value to be set for the cookie. |
Sets the flag to fetch secure cookies.
| Name | Type | Description |
|---|---|---|
secure | boolean | Whether the cookie fetched should be secure only or not. |
Sets the size of the cookie to be fetched.
| Name | Type | Description |
|---|---|---|
size | number | The size of the cookie. |
Sets the value of the cookie.
| Name | Type | Description |
|---|---|---|
value | BytesValue | The value to be set. Must be an instance of BytesValue. |