Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
fix 3 remaining cubic review issues
ShawnPana5ee7104fccc3
diff --git a/skills/browser-use-docs/references/cloud/api-v2.md b/skills/browser-use-docs/references/cloud/api-v2.mdindex 9c50c235d..5be9d2c1d 100644--- a/skills/browser-use-docs/references/cloud/api-v2.md+++ b/skills/browser-use-docs/references/cloud/api-v2.md@@ -85,14 +85,20 @@ curl -X POST https://api.browser-use.com/api/v2/files/sessions/<session-id>/pres-H "Content-Type: application/json" \-d '{"fileName": "input.pdf", "contentType": "application/pdf", "sizeBytes": 102400}'-# 2. Upload via multipart POST using the returned URL and fields (S3-style presigned POST)+# 2. Upload via multipart POST using the returned URL and ALL returned fields (S3-style presigned POST)+# Include every key-value pair from the response's `fields` object as form fields:curl -X POST "<presigned-url>" \-F "key=<fields.key>" \+ -F "policy=<fields.policy>" \+ -F "x-amz-algorithm=<fields.x-amz-algorithm>" \+ -F "x-amz-credential=<fields.x-amz-credential>" \+ -F "x-amz-date=<fields.x-amz-date>" \+ -F "x-amz-signature=<fields.x-amz-signature>" \-F "Content-Type=application/pdf" \-F "[email protected]"```-The v2 presigned URL response includes `fields` for a multipart POST form upload (S3-style). Presigned URLs expire after **120 seconds**. Max file size: **10 MB**.+The v2 presigned URL response includes `fields` for a multipart POST form upload (S3-style). **Include all returned fields** as form fields — they contain the signing data. Presigned URLs expire after **120 seconds**. Max file size: **10 MB**.---diff --git a/skills/browser-use-docs/references/open-source/agent.md b/skills/browser-use-docs/references/open-source/agent.mdindex ff76a453e..3e8497507 100644--- a/skills/browser-use-docs/references/open-source/agent.md+++ b/skills/browser-use-docs/references/open-source/agent.md@@ -69,7 +69,7 @@ async def main():### Performance & Limits- `max_history_items`: Max steps to keep in LLM memory (`None` = all)-- `llm_timeout` (default: `60`, auto-detected: 30s for Gemini, 90s for o3): Seconds for LLM calls+- `llm_timeout` (default: auto-detected per model — Groq: 30s, Gemini: 75s, Gemini 3 Pro: 90s, o3/Claude/DeepSeek: 90s, others: 75s): Seconds for LLM calls- `step_timeout` (default: `180`): Seconds for each step- `directly_open_url` (default: `True`): Auto-open URLs detected in taskdiff --git a/skills/browser-use-docs/references/open-source/examples.md b/skills/browser-use-docs/references/open-source/examples.mdindex 7123ceb3b..dd6f77245 100644--- a/skills/browser-use-docs/references/open-source/examples.md+++ b/skills/browser-use-docs/references/open-source/examples.md@@ -147,6 +147,7 @@ proc = subprocess.Popen(['google-chrome', '--remote-debugging-port=9222', '--user-data-dir=/tmp/chrome-debug'])+pw = Nonetry:# 2. Connect Playwrightpw = await async_playwright().start()@@ -173,7 +174,8 @@ try:agent = Agent(task="Fill out the form", llm=ChatBrowserUse(), browser=browser, tools=tools)await agent.run()finally:- await pw.stop()+ if pw:+ await pw.stop()proc.terminate()proc.wait()```