Help Center / AI Browser Agents

Using ScreenRecorderToolbox with AI Browser Agents

Browser agents are great at reasoning, but raw mouse wheel ticks and instant keystrokes look messy on camera and vary between runs. ScreenRecorderToolbox gives agents three deterministic ways to execute clean demos and captures every single time.

1. Stable popup controls (data-agent-action)

Every tab, button, slider, and toggle in the extension popup exposes a stable data-agent-action attribute and ARIA role, plus a live data-agent-state attribute on <body> (ready, scrolling, paused, or restricted).

ActionSelector
Switch to Capture / Scroll / Type / Stage / Takes[data-agent-action="tab.capture"] (or tab.scroll, tab.type, tab.stage, tab.takes)
Capture full page or card[data-agent-action="capture.full"], [data-agent-action="capture.component"]
Start or Arm scroll[data-agent-action="scroll.start"], [data-agent-action="scroll.arm"]
Import Take JSON[data-agent-action="takes.importJson"], [data-agent-action="takes.saveJson"]
Stop everything immediately[data-agent-action="global.stopAll"]

2. Import & replay JSON Takes

Open the Takes tab and click Import JSON. An agent or human can paste a single Take object (or an array of Takes) and save it directly for the active page URL. Click Copy JSON anytime to inspect or version-control a Take.

{
  "name": "Feature walkthrough",
  "delay": 0,
  "steps": [
    { "kind": "scroll", "el": { "sel": "#pricing" } },
    { "kind": "wait", "s": 1 },
    { "kind": "spotlight", "el": { "sel": ".plan.featured" } },
    { "kind": "type", "el": { "sel": "#email" }, "text": "[email protected]", "enter": true }
  ]
}

3. Page-level command bridge (srt:run)

Once the extension is active on a tab, document.documentElement.dataset.srtReady is set to "1". Any agent running JavaScript in the page (Playwright, Chrome DevTools MCP, or browser-use) can dispatch a srt:run CustomEvent and read the structured JSON response from the srt:result event or document.documentElement.dataset.srtLastResult.

window.dispatchEvent(new CustomEvent("srt:run", {
  detail: {
    id: "step-1",
    action: "scroll",
    speed: 4,
    pause: 1.5,
    fromTop: true
  }
}));
Bridge actionWhat it does
statusReturns live scrolling, paused, typing, playing, armed, and stage flags.
scroll / pause / resumeStarts, pauses, or resumes eased scrolling with heading holds.
typeFocuses optional selector and types smoothly with replace-on-retake.
stage / resetToggles PII blur, click rings, keystrokes, freeze motion, or resets the page.
runStepsExecutes an inline steps array identically to a saved Take.
stopHalts scrolling, typing, active takes, and pickers immediately.