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

# online

> Restore the browser's network connection.

Re-enables network for the browser context after a prior `offline`. The bare
scalar `- online` is equivalent to `- online: {}`.

## Parameters

| Parameter | Type      | Required | Description                                                           |
| --------- | --------- | -------- | --------------------------------------------------------------------- |
| `saveAs`  | `string`  | No       | Name of the variable to write this step's return value to.            |
| `retries` | `number`  | No       | Number of times to retry the step on failure before failing the test. |
| `skipped` | `boolean` | No       | Skip this step at execution time.                                     |

## Shorthand

Bare command.

```yaml theme={null}
- online
```

## Examples

```yaml theme={null}
- online: {}
```

## Related

* [Test format](/core-concepts/test-format)
