> For the complete documentation index, see [llms.txt](https://docs.stackai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stackai.com/stackai-tools/browser-and-computer/browser-navigation-replay.md).

# Browser Navigation Replay

Repeat a saved sequence of browser interactions. Use replay for a recurring browser task whose steps are already known.

## Before you start

Replay must be available in your environment, and a recording must be saved for the current project.

## Replay a saved browser task

1. Open **Browser Navigation Replay** and select a sequence from **Saved Recording**. If no suitable recording exists, use **New recording** to capture and save the sequence.
2. Check that the target website is in the expected starting state, including any required sign-in.
3. Run the replay. Read **Result** to see which steps completed, then check **Success**, **Status**, and **Error**.

<figure><img src="https://1957915746-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSQ1Sgy933krTyK0S4JpP%2Fuploads%2FI9pxdkCRvC62uXxkfdli%2Fbrowser-replay.png?alt=media" alt="Browser replay controls in StackAI" width="800"><figcaption><p>Select the recording to repeat from Saved Recording. Use New recording when you need to capture a new sequence. Saving a recording makes it available in the selector. Replay repeats browser interactions, so changes to the target website or its sign-in state can require you to update the recording.</p></figcaption></figure>

**Result:** A successful replay completes the saved steps and returns their results.

## Behavior and troubleshooting

A changed page layout, expired sign-in, or missing record can prevent a saved sequence from completing. Check the destination application before retrying: earlier steps may have submitted changes before a later step failed. To record or replace a sequence, follow [Record and replay browser navigation](https://docs.stackai.com/guides-and-quickstarts/using-tools-and-actions/record-and-replay-browser-navigation.md).

## Inputs

| Field                      | Parameter      | Description                    |
| -------------------------- | -------------- | ------------------------------ |
| Saved Recording (required) | `recording_id` | The saved recording to replay. |

## Outputs

| Field   | Parameter | Description                                |
| ------- | --------- | ------------------------------------------ |
| Success | `success` | Whether the replay completed successfully. |
| Task ID | `task_id` | The browser replay run ID.                 |
| Status  | `status`  | Terminal replay status.                    |
| Result  | `result`  | Step-by-step replay result payload.        |
| Error   | `error`   | Replay error if the task failed.           |

## Related guidance

[Record and replay browser navigation](https://docs.stackai.com/guides-and-quickstarts/using-tools-and-actions/record-and-replay-browser-navigation.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.stackai.com/stackai-tools/browser-and-computer/browser-navigation-replay.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
