Skip to content

fix(browser-use): record sessions through V4 - #45

Merged
andreakiro merged 1 commit into
nottelabs:mainfrom
MagMueller:agency/browser-use-v4-recording
Aug 28, 2026
Merged

fix(browser-use): record sessions through V4#45
andreakiro merged 1 commit into
nottelabs:mainfrom
MagMueller:agency/browser-use-v4-recording

Conversation

@MagMueller

Copy link
Copy Markdown
Contributor

What

  • honor BrowserArena’s existing recording option when creating Browser Use sessions
  • use the Browser Use V4 browser resource to create, stop, and retrieve recordingUrl
  • add three mocked HTTP regression tests for create, recording download, and stop

Why

BrowserArena’s record command already calls provider.create({ recording: true }), but BrowserUseProvider ignored that flag. It also polled the V3 agent-session resource, which is not the browser record that owns recordingUrl. The result was a Browser Use run without an available proof video.

This patch sends enableRecording to V4 and reads the V4 browser record after the run stops.

Validation

  • npm ci
  • npm run build
  • node --import tsx --test src/providers/browser-use.test.ts (3 passed)
  • git diff --check
  • TruffleHog: 0 verified or unverified secrets
  • current Browser Use V4 OpenAPI checked for create, get, stop, recording, and status fields

All HTTP tests are mocked. I did not use a real API key or start a paid browser session.

@greptile-apps

greptile-apps Bot commented Aug 27, 2026

Copy link
Copy Markdown

PR author is not in the allowed authors list.

@vercel

vercel Bot commented Aug 27, 2026

Copy link
Copy Markdown

@MagMueller is attempting to deploy a commit to the Nottelabs Team on Vercel.

A member of the Team first needs to authorize it.

@andreakiro
andreakiro force-pushed the agency/browser-use-v4-recording branch from f208fa0 to c90f3c6 Compare August 28, 2026 18:05
@andreakiro
andreakiro merged commit 081754d into nottelabs:main Aug 28, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants