From fc5b6a0ec5e95a5ed13c1f4aa7f13d65b1cf8da9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20M=C3=BCller?= <67061560+MagMueller@users.noreply.github.com> Date: Mon, 30 Mar 2026 15:06:03 -0700 Subject: [PATCH 1/2] Fix docs R2: auth header, wrong property names in legacy docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - agent/quickstart.mdx: Authorization: Bearer → X-Browser-Use-API-Key - legacy/agent.mdx: upload.presignedUrl → upload.url, method PUT → POST - legacy/agent.mdx: output.presignedUrl → output.downloadUrl - legacy/public-share.mdx: share.url → share.shareUrl (both Python and TS) Co-Authored-By: Claude Opus 4.6 (1M context) --- docs/cloud/agent/quickstart.mdx | 2 +- docs/cloud/legacy/agent.mdx | 6 +++--- docs/cloud/legacy/public-share.mdx | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/cloud/agent/quickstart.mdx b/docs/cloud/agent/quickstart.mdx index 929618108..ea0a92738 100644 --- a/docs/cloud/agent/quickstart.mdx +++ b/docs/cloud/agent/quickstart.mdx @@ -25,7 +25,7 @@ console.log(result.output); ``` ```bash curl curl -X POST https://api.browser-use.com/api/v3/sessions \ - -H "Authorization: Bearer YOUR_API_KEY" \ + -H "X-Browser-Use-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"task": "List the top 20 posts on Hacker News today with their points"}' ``` diff --git a/docs/cloud/legacy/agent.mdx b/docs/cloud/legacy/agent.mdx index 86d288603..c36aef85e 100644 --- a/docs/cloud/legacy/agent.mdx +++ b/docs/cloud/legacy/agent.mdx @@ -73,8 +73,8 @@ const upload = await client.files.sessionUrl(session.id, { sizeBytes: 1024, }); -await fetch(upload.presignedUrl, { - method: "PUT", +await fetch(upload.url, { + method: "POST", body: readFileSync("input.pdf"), headers: { "Content-Type": "application/pdf" }, }); @@ -100,7 +100,7 @@ for file in result.output_files: const result = await client.tasks.get(taskId); for (const file of result.outputFiles) { const output = await client.files.taskOutput(taskId, file.id); - console.log(output.presignedUrl); + console.log(output.downloadUrl); } ``` diff --git a/docs/cloud/legacy/public-share.mdx b/docs/cloud/legacy/public-share.mdx index 37e2859c8..f5666dd29 100644 --- a/docs/cloud/legacy/public-share.mdx +++ b/docs/cloud/legacy/public-share.mdx @@ -9,10 +9,10 @@ Generate a public URL that anyone can open to watch the entire agent session — ```python Python share = await client.sessions.create_share(session.id) -print(share.url) +print(share.share_url) ``` ```typescript TypeScript const share = await client.sessions.createShare(session.id); -console.log(share.url); +console.log(share.shareUrl); ``` From 37ed7385afb2d4f488e2a907998f5a683d58317c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20M=C3=BCller?= <67061560+MagMueller@users.noreply.github.com> Date: Mon, 30 Mar 2026 15:15:58 -0700 Subject: [PATCH 2/2] Fix dead browser-use-cli repo link in CLI docs Remove link to non-existent github.com/browser-use/browser-use-cli repo. The profile subcommand is part of the CLI itself. Co-Authored-By: Claude Opus 4.6 (1M context) --- docs/open-source/browser-use-cli.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/open-source/browser-use-cli.mdx b/docs/open-source/browser-use-cli.mdx index 05000d378..b52dd5136 100644 --- a/docs/open-source/browser-use-cli.mdx +++ b/docs/open-source/browser-use-cli.mdx @@ -271,7 +271,7 @@ browser-use open https://abc.trycloudflare.com ## Profile Management -The `profile` subcommand delegates to the [profile-use](https://github.com/browser-use/browser-use-cli) Go binary, which syncs local browser cookies to Browser-Use cloud. +The `profile` subcommand syncs local browser cookies to Browser-Use cloud. The binary is managed at `~/.browser-use/bin/profile-use` and auto-downloaded on first use.