mertunsall
b3ccedf632
Update action description for input_text to clarify functionality
2025-06-22 17:56:53 +02:00
Mert Unsal
4ce6f769bf
Merge branch 'main' into mert/fix_input_message
2025-06-22 17:17:22 +02:00
mertunsall
4e88b221b6
Fix exception handling for text input in DOM elements by raising BrowserError within the try-except block, ensuring proper error reporting.
2025-06-22 17:16:28 +02:00
mertunsall
f896fe40c6
Prioritize click and enter text for input text
2025-06-22 15:35:50 +02:00
mertunsall
258d0b0bec
Implemented a try-except block to handle exceptions when inputting text into DOM elements. If an error occurs, a descriptive message is returned to indicate the failure, improving robustness in browser interactions.
2025-06-22 15:34:37 +02:00
mingzhong.li
dbae589623
fix: fixing open file encoding error in windows
2025-06-22 17:52:14 +08:00
mertunsall
95ca883894
Update system prompt
2025-06-21 23:36:48 +02:00
mertunsall
b4783745b9
Revert "Enhance system prompt reasoning ( #2022 )"
...
This reverts commit 25a2eecbfd , reversing
changes made to 8194ecbc3e .
2025-06-21 23:27:19 +02:00
Nick Sweeting
e6dd2ae475
error handling during browser launch
2025-06-21 08:05:41 -07:00
Nick Sweeting
959e0b2911
make browser launch timeout set using playwright kwarg
2025-06-21 07:14:48 -07:00
Nick Sweeting
6d84267a1f
fix for indexerrors during browser launches
2025-06-21 07:05:03 -07:00
Nick Sweeting
0af8c8c0fe
imports
2025-06-21 06:29:10 -07:00
Nick Sweeting
6c695d0a42
more lint and hint fixes
2025-06-21 05:39:17 -07:00
Nick Sweeting
f878b8f07c
type hint fixes
2025-06-21 05:16:02 -07:00
Nick Sweeting
6bc1f7985f
more type hint fixes
2025-06-21 04:56:27 -07:00
Nick Sweeting
340bafdd29
move old tests to old folder
2025-06-21 04:47:46 -07:00
Nick Sweeting
e3c145377b
fix window resizing
2025-06-21 04:35:31 -07:00
Nick Sweeting
b67be37490
fix type hint errors
2025-06-21 04:35:24 -07:00
Nick Sweeting
875c8fc831
fix tests
2025-06-21 04:08:51 -07:00
Nick Sweeting
3cf9f3410c
fix config issues
2025-06-21 04:03:58 -07:00
Nick Sweeting
c451bca15c
fix spaces
2025-06-21 03:46:00 -07:00
Nick Sweeting
f4b1987761
fixes
2025-06-21 03:43:37 -07:00
Nick Sweeting
0aaf13be55
Update browser_use/cli.py
...
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-06-21 06:40:56 -04:00
Nick Sweeting
6ede8842e5
Update browser_use/utils.py
...
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-06-21 06:38:57 -04:00
Nick Sweeting
c973553152
up max string lengths
2025-06-21 03:14:47 -07:00
Nick Sweeting
63e5f59cdc
make pending_events a list of event objects instead of dicts
2025-06-21 03:14:46 -07:00
Nick Sweeting
7eca549919
warn if using deterministic rendering
2025-06-21 03:14:46 -07:00
Nick Sweeting
7701180968
allow passing cloud_sync to agent
2025-06-21 03:14:46 -07:00
Nick Sweeting
49e9fd4ff2
move env var config to utils file
2025-06-21 03:14:46 -07:00
Nick Sweeting
095f8a72cf
Revert "Fix cross-origin iframe DOM retrieval"
2025-06-21 05:48:11 -04:00
Nick Sweeting
d8c6876e08
tweak BrowserSession failure message details
2025-06-21 01:03:09 -07:00
Nick Sweeting
5db131c11b
set BROWSERUSE_CLOUD_SYNC to default to the value of ANONYMIZED_TELEMETRY
2025-06-21 01:02:31 -07:00
Mert Unsal
64eeac9a17
Update browser_use/agent/system_prompt.md
...
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-06-20 22:45:44 +02:00
mertunsall
16708e916d
Enhance system prompt reasoning
...
- Improve clarity on using extract_structured_data and user request processing.
- Added guidance on file system to avoid overwriting existing content.
- Included additional reasoning patterns for better task management and progress tracking.
2025-06-20 22:42:21 +02:00
Mert Unsal
97bd9fb3d2
Update browser_use/agent/message_manager/service.py
...
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-06-20 21:31:51 +02:00
mertunsall
f3b406f42a
Quick Fix to History
2025-06-20 21:28:06 +02:00
mertunsall
9ae6354b76
- Change reasoning rules in system prompt
...
- Flatten AgentOutput to get rid of current_state
- Add agent initialization in history.
- Update the example tool call.
- Add a current_state property to AgentOutput for compatibility.
2025-06-20 18:55:04 +02:00
Magnus Müller
4a8cf30dac
Merge branch 'main' into mert/new_everything
2025-06-20 12:27:19 +02:00
Nick Sweeting
1cc94b6688
improve cloud sync logging
2025-06-20 03:00:35 -07:00
Nick Sweeting
3177118aa7
fix lint errors
2025-06-20 02:38:22 -07:00
Nick Sweeting
e9b2fea57f
Revert "Fix cross-origin iframe DOM retrieval"
2025-06-20 05:37:22 -04:00
Nick Sweeting
2baf4e7907
Merge branch 'main' into eventbus
2025-06-20 02:26:44 -07:00
Nick Sweeting
933bddc02f
improve error logging and bump bubus version
2025-06-20 02:24:01 -07:00
Nick Sweeting
7766b8d630
cleanup event wrapping and unwrapping
2025-06-20 02:06:23 -07:00
Magnus Müller
4c2952d640
Squashed commit of the following:
...
commit a9cf53a1b1
Merge: 5aa62c11 0f9ffa10
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Fri Jun 20 10:41:19 2025 +0200
Set user_data_dir to None (#2015 )
<!-- This is an auto-generated description by cubic. -->
Changed browser session setup to use incognito mode by setting
user_data_dir to None, preventing persistent state between evaluation
runs.
<!-- End of auto-generated description by cubic. -->
commit 0f9ffa1072
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com >
Date: Fri Jun 20 10:38:01 2025 +0200
Set user_data_dir to None
commit 5aa62c1113
Merge: d8a9d21b e559ff5e
Author: Nick Sweeting <git@sweeting.me >
Date: Thu Jun 19 23:01:49 2025 -0700
Fix cross-origin iframe DOM retrieval (#1965 )
commit d8a9d21b00
Merge: 3e5f3049 b6be1583
Author: Nick Sweeting <git@sweeting.me >
Date: Thu Jun 19 23:01:21 2025 -0700
Fix critical domain restriction bypass vulnerability (#2006 )
commit b6be158319
Author: Sahar <saharhashai@gmail.com >
Date: Thu Jun 19 02:28:34 2025 -0700
Delete tests/ci/test_security_url_validation.py
commit aca4b57329
Author: Sahar <saharhashai@gmail.com >
Date: Thu Jun 19 02:27:57 2025 -0700
Delete SECURITY_FIX_REPORT.md
commit 45872c1e45
Author: Your Name <your.email@example.com >
Date: Thu Jun 19 11:24:50 2025 +0200
fix(security): prevent domain restriction bypass in controller actions
- Add domain validation to controller.click() and controller.type() methods
- Implement comprehensive security checks before executing actions
- Prevent potential prompt injection and unauthorized data access
- Add extensive test coverage for domain validation scenarios
- Update documentation with security considerations
This critical fix prevents complete bypass of domain restrictions that
could enable attackers to perform unauthorized actions on any domain.
commit e559ff5eaa
Merge: 19ae8a11 f348e0c5
Author: Nick Sweeting <git@sweeting.me >
Date: Sat Jun 14 01:56:09 2025 -0700
Merge branch 'main' into main
commit 19ae8a1146
Merge: e1b3ff9e 08ed0be3
Author: Nick Sweeting <git@sweeting.me >
Date: Sat Jun 14 00:31:30 2025 -0700
Merge branch 'main' into main
commit e1b3ff9e9d
Author: Ilya Biryukov <ilbiryuk@microsoft.com >
Date: Thu Jun 12 17:40:40 2025 -0700
Revert changes to examples/features/multiple_agents_same_browser.py
commit d20a3b55d6
Author: Ilya Biryukov <ilbiryuk@microsoft.com >
Date: Thu Jun 12 17:30:59 2025 -0700
Fix pre-commit lint issues and compile error in multiple_agents_same_browser
commit 13d5468aa2
Author: Ilya Biryukov <ilbiryuk@microsoft.com >
Date: Thu Jun 12 14:07:21 2025 -0700
Fix cross-origin iframe DOM retrieval
2025-06-20 10:51:06 +02:00
Magnus Müller
907867f976
Refactor agent history update logic to handle None model_output case, ensuring proper logging and description formatting for failed parsing scenarios.
2025-06-20 09:28:23 +02:00
Magnus Müller
eda5140363
Improve error logging in message manager by appending ellipsis to truncated error messages for better clarity in action results.
2025-06-20 08:27:46 +02:00
Magnus Müller
1a891202ea
Enhance system prompt documentation by clarifying the structure of the JSON response. Added important notes regarding the top-level elements "current_state" and "action" to improve understanding of the expected format.
2025-06-20 08:25:48 +02:00
Nick Sweeting
5aa62c1113
Fix cross-origin iframe DOM retrieval ( #1965 )
2025-06-19 23:01:49 -07:00
Nick Sweeting
d8a9d21b00
Fix critical domain restriction bypass vulnerability ( #2006 )
2025-06-19 23:01:21 -07:00