> ## Documentation Index
> Fetch the complete documentation index at: https://docs.extractbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# clearCookies

Clears all browser cookies for the current context, or specific cookies if options are provided.
Returns true if cookies were successfully cleared.

## Definition

```graphql theme={null}
clearCookies(
  options: ClearCookiesOptions!
): Boolean!
```

## Arguments

### `options`

[ClearCookiesOptions!](/reference/graphql/inputs/clear-cookies-options)

Options to specify which cookies to clear (by domain, name, or path). If not provided, all cookies are cleared.

## Returns

[Boolean!](/reference/graphql/scalars/boolean)

The `Boolean` scalar type represents `true` or `false`.
