Browser Run adds Live View, Human in the Loop, and Session Recordings
Key Points
- Live View: real-time agent visibility
- Human in the Loop: live human intervention
- Session Recordings: post-run DOM replay
Summary
Cloudflare's Browser Run introduces three features to improve debugging and reliability of browser automation: Live View for real-time visibility into active sessions, Human in the Loop to let people step into a live session and resolve issues, and Session Recordings to capture DOM state for post-run replay. These are available from the Cloudflare dashboard (Browser Run > Runs), the hosted Live View UI (live.browser.run), or via API/DevTools where noted.
Key Points
- Live View
- See page, DOM, console, and network requests in real time for any active browser session.
- Access via Cloudflare dashboard, hosted UI at live.browser.run, or native Chrome DevTools.
- Human in the Loop
- A human can open Live View for an active session, take control to resolve issues (e.g., logins, edge cases), then return control to the script.
- Planned: an agent-initiated handoff flow that notifies humans and returns control after resolution.
- Session Recordings
- Record DOM state by launching a browser with
recording: true. - After session end, view recordings under Browser Run > Runs or fetch via API using the session ID.
- Planned: ability to inspect DOM state and console output at any point during a recording.
- Record DOM state by launching a browser with
Practical tips for engineers
- Enable recordings during debugging runs: pass
recording: truewhen launching the browser to get full replay capability. - Use Live View or DevTools for interactive debugging of flaky scripts and to observe network/console output live.
- For flows requiring human interaction (multi-factor auth, CAPTCHAs), use Human in the Loop to minimize failures; expect a richer handoff API soon.
Links
- See Browser Run docs for Live View, Human in the Loop, and Session Recording for setup and API details.