Commit Graph

4494 Commits

Author SHA1 Message Date
Saurav Panda 66b4d25b35 fix filter-success guidance 2026-03-17 09:13:22 -07:00
Saurav Panda 030f3fed3a fix: never suppress interactive elements via paint-order filtering 2026-03-16 20:52:01 -07:00
Saurav Panda 347904198c Merge branch 'main' into fix-hallucination-ssies 2026-03-10 18:57:29 -07:00
Saurav Panda 032ee15c19 fix: add strict data grounding rules to prevent hallucination 2026-03-10 18:51:13 -07:00
Saurav Panda 990e0ce828 Merge branch 'main' into fix-duplicate-extraction 2026-03-10 16:22:10 -07:00
Saurav Panda ce25884751 fix: prevent duplicate items in multi-page extraction via already_collected parameter 2026-03-10 16:12:46 -07:00
Saurav Panda bf6bb01430 Merge branch 'main' into empty-dom-after-navigation 2026-03-10 15:58:02 -07:00
Saurav Panda 53b0239677 recompute the url scheme after refresh 2026-03-10 15:56:21 -07:00
Saurav Panda 1d9049fcad fix: detect empty DOM after navigation and retry before reporting failur 2026-03-10 15:40:19 -07:00
Saurav Panda 081e4ee94f added check for hard constraints 2026-03-10 12:45:02 -07:00
Saurav Panda 9b103bb1d4 Merge branch 'main' of https://github.com/browser-use/browser-use into worktree-agent-a7f83756 2026-03-07 16:36:14 -08:00
Saurav Panda 2895720eb0 fix: remove unused variable assignments 2026-03-07 14:37:31 -08:00
Saurav Panda 2344df3fac fix: pass through timeout_ms and clip params in event handlers 2026-03-07 14:34:08 -08:00
Laith Weinberger b630ae596e lint 2026-03-06 11:37:38 -05:00
Laith Weinberger b051fe2a7a don't explicitly pass newWindow: false to CDP createTarget 2026-03-06 11:28:36 -05:00
Saurav Panda 83908a7de1 Merge branch 'main' into ph-launch 2026-03-02 16:40:22 -08:00
Saurav Panda 10b5d1cd88 fix: allow cross-origin iframe targets with empty URLs through _is_valid_target() 2026-03-02 16:36:39 -08:00
Laith Weinberger f5df080b41 lint 2026-03-01 16:21:49 -05:00
Laith Weinberger 209866ed5b fix channel param to select correct browser binary 2026-03-01 16:17:18 -05:00
laithrw a1e54eff0e Merge branch 'main' into fix/mcp-screenshot-imagecontent 2026-03-01 16:05:27 -05:00
Laith Weinberger 086f18cf53 lint 2026-03-01 16:05:07 -05:00
Laith Weinberger 3a03d14f9b use MCP ImageContent for screenshots instead of embedding base64 in JSON 2026-03-01 15:59:18 -05:00
laithrw c330212e60 Merge branch 'main' into fix/2582-mcp-action-result 2026-03-01 15:09:47 -05:00
laithrw 2a8f2a0bed Merge branch 'main' into fix/3090-json-escaping 2026-03-01 14:21:25 -05:00
Laith Weinberger 8ebe4385ed fix: preserve non-ASCII chars in all remaining JSON file outputs 2026-03-01 14:19:38 -05:00
laithrw 2a955de5c9 Merge branch 'main' into fix/mcp-aws-sso-auth 2026-03-01 14:11:25 -05:00
sudhanshu112233shukla d864bd7a8e fix(agent): disable json escaping in conversation history (#3090) 2026-03-01 14:11:02 -05:00
Laith Weinberger 50b22b2472 fix(mcp): use configured default model instead of hardcoding gpt-4o 2026-03-01 14:03:42 -05:00
g97iulio1609 198fb6f277 fix: remove redundant local tempfile imports
tempfile is already imported at module level (line 3). The local
imports inside set_default_downloads_path() and _extract_extension()
were shadowing the module-level import with no effect.

Refs: browser-use/browser-use#4242
2026-03-01 11:56:50 -05:00
g97iulio1609 9939aa8f11 fix: use tempfile.gettempdir() instead of hardcoded /tmp for cross-platform compat
On Windows, Python resolves '/tmp' to the current drive root (e.g. C:\TMP),
creating unwanted folders. Use tempfile.gettempdir() which returns the
platform-appropriate temp directory on all operating systems.

Applied to:
- browser_use/browser/profile.py: BrowserProfile downloads_path default
- browser_use/code_use/service.py: CodeUseService agent_directory base

Fixes #4165
2026-03-01 11:56:50 -05:00
Laith Weinberger e239d1f523 fix: remove redundant local tempfile imports
tempfile is already imported at module level (line 3). The local
imports inside set_default_downloads_path() and _extract_extension()
were shadowing the module-level import with no effect.

Refs: browser-use/browser-use#4242
2026-03-01 11:44:20 -05:00
Laith Weinberger 9932f06500 Merge main into fix/issue-4050-windows-proxy and resolve conflicts 2026-03-01 11:22:28 -05:00
Laith Weinberger e3ca7ea550 use cleaner example for browser state format 2026-03-01 10:23:32 -05:00
Mr-Neutr0n 66b857959c docs: fix browser state format documentation in system_prompt.md (#3782)
The system_prompt.md incorrectly documented the browser state format as:
  [index]<type>text</type>
  Example: [33]<div>User form</div>

But the actual serializer output format is:
  [index]<tagname attribute=value />
  With text content as child nodes on separate lines

This update:
- Corrects the format description to match actual DOMTreeSerializer output
- Updates examples to show realistic tree structure
- Documents |SCROLL| prefix for scrollable containers
- Documents |SHADOW(open/closed)| prefix for shadow DOM elements

Fixes #3782
2026-03-01 10:23:32 -05:00
Br1an67 db2f7d94be fix: read aws_sso_auth from config instead of hardcoding True
The MCP server hardcoded aws_sso_auth=True, breaking all non-SSO
Bedrock users (IAM key-based auth). Now reads aws_sso_auth from
llm_config with a default of False, letting boto3's standard
credential chain work correctly.

Also replaced a Chinese-language comment with an English one.

Fixes #4148
2026-03-01 14:23:47 +08:00
laithrw 744c2be4ae Merge branch 'main' into issue-3523-fix 2026-02-26 21:05:37 -05:00
Laith Weinberger c8bfc86440 rm unused imports 2026-02-26 15:55:36 -05:00
Laith Weinberger 89817de334 Fix proxy auth attach handler overwriting tab tracking 2026-02-26 15:48:38 -05:00
Saurav Panda 2552caeca4 fixed code styling issue 2026-02-25 12:26:10 -08:00
Saurav Panda 8270346ccf improved csv file generation 2026-02-25 11:45:05 -08:00
Saurav Panda bc5659e7b4 Merge branch 'main' into add-feature-for-page-to-pdf 2026-02-24 18:41:57 -08:00
Saurav Panda 95215d6211 Add save_as_pdf agent action for CDP-based page-to-PDF export 2026-02-24 18:35:34 -08:00
Larsen Cundrič 2503c5f159 Merge branch 'main' into larsen/add-timeouts-to-browser-connects 2026-02-24 18:19:42 -08:00
LarsenCundric 505d5df406 Add timeouts to browser connects and waits 2026-02-24 18:13:28 -08:00
Saurav Panda 08bf06f734 Merge branch 'main' into websocket-connection-issues 2026-02-24 17:18:33 -08:00
Aitor f60a62bc76 Merge branch 'main' into feat/add-captcha-solver-handling 2026-02-24 07:13:06 +01:00
Saurav Panda 719d0361e5 Fix reconnection wait timeout to cover full auto-reconnect window
The circuit breaker and agent error handler were using a hardcoded 20s
timeout, but the worst-case auto-reconnect window is ~48s (3 attempts *
15s + 7s delays). Handlers would raise ConnectionError while reconnection
was still in progress. Now both use BrowserSession.RECONNECT_WAIT_TIMEOUT
(54s) derived from the actual reconnect parameters.
2026-02-23 17:47:52 -08:00
Saurav Panda 032f1475cb Merge branch 'main' into websocket-connection-issues 2026-02-23 17:44:17 -08:00
Aitor c0528bec2d Merge branch 'main' into feat/add-captcha-solver-handling 2026-02-24 02:19:25 +01:00
Saurav Panda ea23b45daa Merge branch 'main' into websocket-connection-issues 2026-02-23 17:14:57 -08:00