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

# navigate

> Navigate the current tab to a URL.

URLs can be absolute or relative. Relative URLs resolve against the project's
base URL.

## Parameters

| Parameter | Type      | Required | Description                                                           |
| --------- | --------- | -------- | --------------------------------------------------------------------- |
| `url`     | `string`  | Yes      | Destination URL.                                                      |
| `timeout` | `number`  | No       | Maximum navigation time in milliseconds.                              |
| `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

URL as a single string.

```yaml theme={null}
- navigate: http://localhost:4173/practice-ai-action-library
```

## Examples

```yaml theme={null}
- navigate:
    url: http://localhost:3000/tests
    timeout: 60000
```

```yaml theme={null}
- navigate:
    url: https://www.ycombinator.com/apply
    timeout: 15000
```

## Related

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