Skip to main content

Deterministic Replay: Rerun a Browser Task, With AI Only Where It's Needed

Replay reruns a saved browser task deterministically: clicks and typing run without AI, Smart edit changes values first, and AI runs where a step needs it.

·Starizon Team
Replay, the first run thinks and replays just run: three pages drawn in dots with the same layout; on the first a dotted path wanders between the controls, on the next two the same route runs straight

Some browser tasks come back every week: the same rental search with the same filters, or the same report from the same dashboard. An AI agent can do them for you, but it treats the second run like the first. It rereads pages it has already read and remakes decisions you settled last week. That costs time and credits, and now and then the agent settles one of them another way.

We built Replay for the second run. You let the agent do the task once, check the result and save the run. From then on, a replay is a deterministic rerun of the saved steps. It opens the same pages and clicks, types and chooses what the first run did, and no AI picks the next move.

The Replay panel sums it up as "Deterministic by default, with AI where needed." A few kinds of steps call the AI on every run, such as a summary of this week's listings, and you can hand a single step to the AI on purpose. Before a run, Smart edit can change the values in the steps, such as the neighborhood to search, with one AI request. If a page has changed, the step that breaks gets one AI repair.

Other AI Assistants Run the Whole Task Again

ChatGPT, Claude, Comet and Gemini can repeat a browser task too. They save a set of instructions, which you write or the assistant drafts from a recording. Each repeat is then another agent run, in which the AI reads the page and decides each step again.

ProductWhat it savesOn each run
ChatGPT, Record & ReplayA skill that ChatGPT drafts from your recording: when to use it, its inputs, its steps and how to check the resultChatGPT does the workflow again with its tools, using the skill as context
Claude in ChromeA shortcut made from your recording: a name, a prompt describing what you did and the starting URLClaude runs the workflow again from that prompt, on a schedule if you set one
Perplexity CometA shortcut, which is a reusable promptThe shortcut expands into its full prompt for the assistant to carry out
Gemini in ChromeA skill, which is a set of reusable instructionsGemini reads the active tab and applies the instructions to it
Starizon ReplayThe steps of a run you checked, with each element's place and descriptionStarizon runs the saved clicks, typing and choices without AI, and calls the AI for AI steps and repairs

We checked each one against the company's own pages on December 3, 2026: ChatGPT Record & Replay, Claude in Chrome shortcuts, Comet shortcuts and Gemini in Chrome skills.

Every repeat calls the AI again and counts against your plan. A completed scheduled task "can use your plan's usage allowance or workspace credits even when it does not post an update," according to OpenAI's page on scheduled tasks. Each step also waits for the AI to answer. Anthropic notes that this latency "might be too slow compared with regular human-directed computer actions," in the documentation for its computer use tool.

A fixed step in a Replay waits for the page and nothing else. It goes to the saved element as soon as the page is ready and uses no credits. On an unchanged site, a rerun of the rental search in this post makes no AI calls at all. With new values it makes one, for the Smart edit.

The AI calls buy flexibility. An assistant that reads the live page every time can work through a layout it has never seen, while a Replay expects the layout it was saved on. The checks and the one-step repair described below cover part of that gap.

Some developer frameworks for browser agents also rerun without the AI, once you set them up in code. Stagehand saves an agent's actions on the first run and "replays those cached actions on subsequent runs with no LLM calls, no token cost," according to its caching guide. A Replay starts from a run you did in the side panel, with no code.

What a Replay Saves From an Agent Run

A Replay starts as a run you've checked. In the side panel, open the Tools menu, choose Replay and select Create Replay, then run the job once as a Browser task or with Extract page data. You can also select Save as Replay under a browser task you ran in chat. If you save it as a Skill too, the steps get a slash command, such as /rentals, that starts them from the chat box.

Starizon saves the run step by step: the pages the agent opened, its clicks, the text it typed and the options it chose, plus your original instruction. It doesn't record your screen or where the mouse went.

For each element the agent touched, Starizon also keeps its place in the page's structure and a short description of it. The description holds the kind of control, its text and label, and whether it submits a form. On the first run, the AI chose each element for what it meant. On a rerun, the replay finds the element by its place and checks it against the description.

We keep both because neither is enough alone. Matching by text would miss the third listing on page 2, whose text is new. A place on its own wouldn't notice that a redesign has put a different control there.

How a Deterministic Rerun Works

Select Run replay in the Replay list, or type the Skill's command in chat. If the tab shows a different website from the one you saved the Replay on, Starizon asks "Continue on this website?" before it starts. If the element the first step needs isn't on the page, you see Check the starting page, and nothing runs.

Then the steps run in the order you saved them. Steps that open a page, wait or read a page run as they are. Clicks, typing and choices go to the saved elements with the saved values, so on the same page a rerun does the same thing each time.

The steps are fixed, but the website can change between runs, so Starizon checks the page wherever a wrong click or a lost value would do harm. Before a click, it compares the element it found with the saved description on two points: the kind of control, and whether it submits a form. If a link has turned into a checkbox, or a plain button now submits a form, it clicks nothing and treats the element as missing.

After typing or choosing, the replay reads the field back, and the step fails if the value didn't stick. After a click, it compares the whole description, text and link included. We let a difference there pass, since the third listing on page 2 should say something new. The run still notes the difference and asks you to check the result at the end.

A missing element can also mean the page is still loading. If the previous click started loading a new page, the replay waits for it and tries once more.

A run that goes as saved ends with "Replay completed." in the chat. After a repair, the last line is "Replay completed after automatically repairing one or more steps." If the replay noted a difference, it's "Replay completed, but some steps could not be verified. Please check the result." A failed run shows the step where it stopped.

What a rerun does with one saved click. It finds the element at its saved place in the page and, before clicking, checks that it is still a checkbox that does not submit a form. If the element is missing and the previous click started loading a page, it waits and tries again. If it is still missing, it asks the AI to repair that one step, with browser actions only and at most 20 repairs per run, and if the repair fails, the run stops at that step. After the click it compares the element with the saved description and reports any difference when the run ends, then goes on to the next saved step without AI

The saved places also let a Replay work on pages you didn't save it on. Page 2 of a search is page 1's template with different rows, so the filter panel, the Next button and the third listing sit where they sat before. A rerun starts on the page you have open, unless its first step opens one. You can save the search on page 1 and run it on page 2.

Position also sets the limit: "click the third listing" stays "click the third listing" on every page. A step that has to find something by name, such as the listing at one address, needs to look at the live page. That's what Use AI at runtime is for.

Smart Edit: Change the Values, Then Rerun

Most repeat tasks change in a few values from one run to the next: a neighborhood, a date range, a price cap. Those are the variables of the job, and you don't have to set them up in advance.

Smart edit reads what you type and changes the matching values in the saved steps with one AI request. Then the edited steps run as an ordinary deterministic replay. To change values for one run, type the Skill's command followed by what's different:

/rentals Queens, 3 bedrooms, under $3,500

The chat shows "Adjusting steps for this run…" and "Your saved version stays unchanged." Starizon sends the AI your words along with the saved steps and their values. The AI answers with a list of changes, such as new text for a field, another option in the same menu or a new address to open. It can also delete or move a step.

Smart edit works from the saved steps and never sees the page. It can't add a step, turn one kind of step into another or make up a place to click.

Starizon checks each change, so a field that needs a value can't end up empty. Then it applies the changes to a copy of the steps and runs that copy. In the rental search, the search box gets "Queens", the bedroom menu gets "3 bedrooms" and the price field gets "3500". All three stay fixed steps, so the edit costs one AI request and the rerun costs what it always did.

Changing values for one run. In the chat box, the /rentals command followed by Queens, 3 bedrooms, under 3,500 dollars. In the chat, Starizon notes Adjusting steps for this run and Your saved version stays unchanged, then the replay runs the saved steps: it visits the search page, enters Queens, chooses 3 bedrooms, enters 3500, clicks Pets allowed, extracts 17 listings and ends with Replay completed. The three steps with new values are highlighted

Some changes have to wait for the run. If you ask for a different target, such as another field or the listing with the lowest rent today, the right element is on the live page. Smart edit then turns that one step into a runtime AI step, with an instruction in your words. At that step the AI picks the element on the current page, and the steps around it stay fixed.

If your words don't map to any change, Starizon tells you so and doesn't start the run. You won't get last week's search when you asked for a new one. The edit lasts for one run, and next week /rentals on its own runs the saved steps again.

For a change that should last, open Edit agent/workflow from the Replay's menu. On the Manual tab you change fields by hand or insert a step, such as a pause for your confirmation, a web search or another saved Skill. On the Smart edit tab you describe the change, select Generate and review the changes it marks in the steps, with View diff for the details. Nothing changes until you select Save, and Save copy keeps the original as it was.

Steps That Call the AI on Every Run

On a rerun, most steps run as saved, and a few call the AI:

StepOn a rerun
Open a page, wait, read a pageRuns as saved, without AI
Click, type, choose an optionFinds the saved element, checks it and uses the saved value, without AI
Extract a listRuns the saved rules, and calls the AI if they find nothing
Summarize, search the web, write a reply, send a notification, act in a connected appCalls the AI with what this run has read
A step with Use AI at runtime onThe AI reads the current page and picks this one action
A step that waits for youPauses and asks you
A click, typing or choice that breaksThe AI repairs that one step

Summaries, web searches, replies, notifications and actions in connected apps exist to produce something new. A summary written last Monday describes last Monday, so these steps call the AI again on each run, with the pages this run has read. A notification keeps the channel you chose and gets a new title and message.

In the workflow editor these steps carry an LLM tag with the note "This step is regenerated by AI on each run." Extract steps carry the tag too, because they can fall back to the AI, though with saved rules they try the rules first.

You can also hand a single click, piece of typing or choice to the AI. In Edit agent/workflow, turn on Use AI at runtime for that step and write a Runtime instruction, such as "Choose the first move-in date next month." At that step, the AI reads the current page and returns one action of the same kind, with no other tool and no way to leave the page. The action goes through the same checks as a saved one, and the editor marks the step with "At this step, AI uses the current page to decide what to click or enter."

AI steps, runtime AI steps and repairs use credits each time they run, and a Smart edit uses one request for the run it adjusts.

When a Page Changes: Self-Repair

Sites move a filter into a menu, add a field to a form or rename a button. If Starizon can't find a saved element, or a typed value won't stick, it repairs that one step, and the chat shows "The recorded target moved, so I am trying an updated match on the current page."

For the repair, Starizon reads the current page and sends the AI a narrow request. The request holds your original instruction, the failed step with its description, the error and what the run has done so far. The AI may answer only with browser actions, such as opening a page, scrolling, clicking, typing or choosing. It has to keep the step's intent, destination and values.

The AI also marks the one action that completes the failed step, and anything before it sets things up, such as opening a menu before choosing from it. Starizon runs the plan up to that action and stops there, even if the AI proposed more. It checks those actions the way it checks saved ones, then carries on with the saved steps.

Each broken step gets one repair attempt, a run gets at most 20, and a failed repair stops the run at that step. If the tab has ended up on a different website from the one the steps expect, Starizon doesn't attempt a repair at all.

Like a Smart edit, a repair changes a single run. It fixes the run in front of you and leaves the saved Replay as it was. After a redesign, that step needs an AI repair on every run until you save a fresh run of the task. The last line of each run tells you when a repair happened.

Saved Extraction Rules

Extraction splits the work the same way as the rest of a Replay. The first time you extract a list, such as rental listings or search results, the AI does the part that needs judgment. It points to a couple of example items and, inside each, to the element that holds each field you asked for. Starizon turns those examples into rules, one that finds every item and one per column.

On a rerun the rules run inside the page, without the AI. Rules built from two examples on page 1 read every item on page 2, whether that page holds two items or twenty. If the rules can't find one column, the other columns still come back with the missing cells left empty, and Starizon marks the result partial. If they find nothing, or you've changed what the step should extract, that step goes back to the AI.

Extraction rules built once and run again. On page 1 of a rental search, two listings are marked as the examples. The rules built from them: one that finds each listing card in the results, and one per column, for the title link that holds the address and for the two numbers under it, the rent and the size. On page 2 the same rules fill a table with every listing on the page, with no AI

An extraction can be one step of a browser task, after the clicks that set the filters, or a Replay of its own. An extraction saved as its own Replay runs its rules and never calls the AI, so words you type after its command don't change what it collects.

Rerun on a Schedule

A Replay can also rerun on its own. Choose Set as scheduled task from its menu, pick the days and the time, and choose Where to run. A visible window of its own is the recommended choice: the page draws on screen, and your mouse and keyboard stay yours.

A scheduled run opens the Replay's starting page and runs the saved steps as they are, without per-run changes. It needs Chrome open and your computer awake, and Starizon stops a scheduled Replay that hasn't finished within 10 minutes. If a step waits for you, the run asks in its chat, and those 10 minutes keep counting.

Each task keeps its last 10 completed runs, and you can't schedule an extraction saved as its own Replay yet. For the rest, including what happens to a run Chrome missed, see Scheduled tasks.

Use Replay for Repeat Jobs and the Agent for New Ones

Use a Replay when the job comes back on the same site and the same kind of page, with a few values that change. Ask the agent when this time is different, such as a new site or a new goal. Anthropic's engineers draw the same line in Building effective agents. Workflows, they write, "offer predictability and consistency for well-defined tasks," and agents suit work that needs flexibility.

Every Replay starts as an agent run. If a site changes too much for repair, you fix it the same way: let the agent run the task again, check the result and save that run.

Where It Stops

  • A Replay lives in the browser profile where you saved it.
  • Runs that ran code, worked from files created along the way, or organized tabs from a plain-language instruction can't become a Replay yet.
  • A Replay runs its steps in order. It has no loops or branches, so it can't repeat a step for each row or skip one depending on the page.
  • Saved clicks follow position. A step that has to find something by name needs Use AI at runtime.
  • To change values for one run, start the Replay from its Skill command. Run replay runs the saved steps as they are.
  • Smart edit can't add steps. You can insert them on the Manual tab.
  • A Skill and the Replay it came from are separate copies, so editing one leaves the other as it was.
  • Scheduled runs need Chrome to be running, take no per-run changes and can't be extraction-only Replays.

More in the docs: Replay. To watch it end to end, see Run a rental search once, then rerun it with one command. For extraction on its own, read Natural-Language Web Extraction Across Multiple Pages.

Try it with your own pages

Install Starizon in desktop Chrome or Vivaldi for Android. The use case shows the whole task in a short film, with the requests word for word.