> 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/guides-and-quickstarts/using-tools-and-actions/record-and-replay-browser-navigation.md).

# Record and replay browser navigation

**Browser Navigation Replay** repeats a saved sequence of browser steps. Use it for a browser process that follows the same navigation and actions each time.

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSQ1Sgy933krTyK0S4JpP%2Fuploads%2FOHkAsxzW6dLyCHoSdBf7%2FG052A.mp4?alt=media&token=1181c17a-e067-4639-b5ef-ce7400519c35>" %}

## Before you start

Open an editable workflow and have access to the target website. Choose a repeatable process and a known starting page. Any recorded action that submits or changes data will run again during Replay; use appropriate test data while recording and checking it.

## Add Browser Navigation Replay

Choose StackAI Computer → Browser Navigation Replay.

![Browser Navigation Replay action](https://content.gitbook.com/content/SQ1Sgy933krTyK0S4JpP/blobs/nJvPfBlo7A5LKiu1bHMk/assets/g052a-g052a-01-action.png)

This action executes a Saved Recording of browser steps rather than a free-form navigation instruction.

## Record the browser steps

Select New recording to open the Browser Navigation Sandbox and Workflow Recorder.

![Browser navigation recorder controls](https://content.gitbook.com/content/SQ1Sgy933krTyK0S4JpP/blobs/mPCNrg7FIIgEtoKhzgbS/assets/g052a-g052a-02-recorder.png)

Prepare the browser at the required starting point before recording.

Select Start Recording and perform the required navigation and clicks.

![Browser navigation recorder controls](https://content.gitbook.com/content/SQ1Sgy933krTyK0S4JpP/blobs/G6JVaQfRFnzjfYGc8zT2/assets/g052a-g052a-03-record.png)

Check the recorded step list so unintended actions are not included.

## Replay and inspect the steps

Stop Recording and select Replay to run the captured steps.

![Recorded browser step replay](https://content.gitbook.com/content/SQ1Sgy933krTyK0S4JpP/blobs/Bj1WaljSrYt50ht5zJNy/assets/g052a-g052a-04-replay.png)

Inspect both the destination page and the replay status.

## Save and select the recording

Use Save As to name the recording and add a useful description.

![Saved browser recording selection](https://content.gitbook.com/content/SQ1Sgy933krTyK0S4JpP/blobs/mpE1UhppP5yQ3snpkk8l/assets/g052a-g052a-05-save.png)

Choose a name that explains the process it performs.

Return to the action and select the saved item in Saved Recording.

![Saved browser recording selection](https://content.gitbook.com/content/SQ1Sgy933krTyK0S4JpP/blobs/7hCQPLD1sSOx2dxa7fMf/assets/g052a-g052a-06-selected.png)

Confirm that the selected recording is the one you intend to execute.

## Run the saved recording

Run the action and expand Results.

![Saved recording execution results](https://content.gitbook.com/content/SQ1Sgy933krTyK0S4JpP/blobs/stTapgKEzCa8pcK5KDby/assets/g052a-g052a-07-test.png)

Check the overall status, individual step completion, and error details before relying on the replay.

## Important behavior

Replay executes the saved steps. If the target website or starting state changes, review the failing step and update the recording.

## Continue

* [Browser recording and replay](https://docs.stackai.com/guides-and-quickstarts/using-tools-and-actions/browser-recording-and-replay.md)
* [Workflow debugging and node results](https://docs.stackai.com/guides-and-quickstarts/workflow-builder/workflow-debugging-and-node-results.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/guides-and-quickstarts/using-tools-and-actions/record-and-replay-browser-navigation.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.
