> ## 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.

# setOffline

Sets the browser context to offline or online mode.
Example: `setOffline(enabled: true)`
Returns true if the offline status was successfully set.

## Definition

```graphql theme={null}
setOffline(
  enabled: Boolean!
): Boolean!
```

## Arguments

### `enabled`

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

Whether to enable (true) or disable (false) offline mode.

## Returns

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

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