Magnus Müller
461bce7b22
Request screenshot
2025-10-03 23:55:15 -07:00
mertunsall
025eb60e5f
try to make actions shorter
2025-10-03 19:00:41 +02:00
Magnus Müller
dc34a5edb0
Update search google
2025-09-22 18:43:14 -07:00
Magnus Müller
022a3e352f
More robust switch and close tab
2025-09-22 18:04:29 -07:00
Magnus Müller
1fa91b60ee
Simplify search function
2025-09-22 17:57:28 -07:00
Magnus Müller
c31ff14c99
Fix multiscroll
2025-09-22 16:23:47 -07:00
Magnus Müller
fb24117363
Lint
2025-09-19 23:52:38 -07:00
Magnus Müller
6f2b8a8947
Update browser_use/tools/service.py
...
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-09-18 17:14:47 -07:00
Magnus Müller
a4c83bdbd4
Update syntax rules in service.py to clarify JavaScript execution guidelines and improve example descriptions for better user understanding.
2025-09-18 16:59:07 -07:00
Magnus Müller
8692dc8bd1
Enhance JavaScript execution guidelines in service.py with critical syntax rules and proper examples for IIFE wrapping, error handling, and shadow DOM access.
2025-09-18 16:52:22 -07:00
Magnus Müller
b0c7113a7f
execute_js prompt
2025-09-18 15:32:35 -07:00
Magnus Müller
d7602523ca
Return in click extracted_content instead of long_term_memory
2025-09-18 15:29:17 -07:00
Magnus Müller
2613e54b5f
Change error message for dropdown
2025-09-18 15:28:16 -07:00
Magnus Müller
ec8f901337
log-js-result
2025-09-17 13:24:42 -07:00
Magnus Müller
c79e7d6c6d
Merge branch 'fix-js-return' of https://github.com/browser-use/browser-use into fix-js-return
2025-09-17 12:32:10 -07:00
Magnus Müller
37e76f7f00
Remove unnecessary JSON import in service.py to streamline code.
2025-09-17 12:32:09 -07:00
Magnus Müller
2d514fd322
Update browser_use/tools/service.py
...
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-09-17 12:31:16 -07:00
Magnus Müller
c22a10bc30
Include awaitPromise in js return
2025-09-17 12:07:46 -07:00
Magnus Müller
d1f33c0c5e
Remove index return to avoid wrong index clicks
2025-09-17 11:12:30 -07:00
Saurav Panda
1c6d4f5cfd
Merge branch 'main' into 3113-sensitive-data-showing-in-history-actionresults-as-input_text-action-with-result-the-sensitive-data-inputted
2025-09-16 14:43:59 -07:00
Saurav Panda
126d800df4
remove sensitive data from agent history and logging
2025-09-16 14:41:24 -07:00
Magnus Müller
49ad909f2b
Turn result to str
2025-09-16 00:33:23 -07:00
Magnus Müller
7a448069e6
Remove ExecuteCDPAction
2025-09-16 00:15:30 -07:00
Magnus Müller
e409a230e2
Refactor error handling in JavaScript execution
...
Updated the error handling in the JavaScript execution process to improve clarity. Changed the variable name from 'result' to 'result_text' for better readability and removed an unnecessary description retrieval. Additionally, clarified the documentation regarding the return values of the execute_js function.
2025-09-16 00:15:04 -07:00
Magnus Müller
ac030a6998
Adapt prompt of js tool
2025-09-16 00:10:49 -07:00
Magnus Müller
b208312ceb
include-js-tool
2025-09-09 21:50:56 -07:00
Magnus Müller
b629bc9dcc
ignore asci for chinese letters
2025-09-06 19:43:35 -07:00
Magnus Müller
fa5bed2891
Update 2FA secret handling in Registry class
...
- Changed the placeholder check from '2fa_code' to 'bu_2fa_code' to align with recent updates in sensitive data terminology.
- This modification enhances consistency in the handling of 2FA secrets across the codebase.
2025-09-06 08:42:11 -07:00
Magnus Müller
bf385a3f34
Update 2FA implementation to standardize sensitive data references
...
- Changed the key in sensitive_data from 'otp_secret' to '2fa_code' for consistency across files.
- Updated instructions in the 2FA example to reflect the new key and improve clarity on user input.
These changes enhance the clarity and maintainability of the 2FA implementation.
2025-09-06 08:38:14 -07:00
Magnus Müller
91e077a98f
Refactor secret replacement logic in Registry class
...
- Improved handling of sensitive data replacement by ensuring that the correct replacement value is assigned based on the placeholder type.
- Added comments for clarity on the logic used for generating TOTP codes for 2FA secrets.
This change enhances the maintainability and readability of the code.
2025-09-06 07:34:08 -07:00
Magnus Müller
57d1870978
Merge branch 'main' into mkopecki/native-2fa
2025-09-06 06:49:19 -07:00
Magnus Müller
4ccaf27df6
Update maximum wait time to 30 sec
2025-09-03 13:58:04 -07:00
Magnus Müller
148c83c8b7
add first step logging to take step
2025-09-02 12:13:38 -07:00
Magnus Müller
9e04ab19b1
change tool error message from DOM to browser-state
2025-09-02 11:39:13 -07:00
Magnus Müller
97f321bcea
update error message for scroll
2025-09-02 11:32:03 -07:00
Magnus Müller
ba148ebb86
Update action messages for clarity in agent and dropdown tool
...
- Refined log message in the agent service to improve clarity regarding unexecuted actions.
- Enhanced description for dropdown options action to specify usage limitations more clearly.
2025-08-31 19:51:04 -07:00
Magnus Müller
a915a0b95c
Refactor navigate_to function and update tool descriptions for improved clarity and efficiency.
2025-08-31 13:50:54 -07:00
Magnus Müller
53a2afc93b
Update tool description
2025-08-31 13:38:56 -07:00
Magnus Müller
21b1295793
Revert "Rename extract_structured_data to get_markdown"
...
This reverts commit 3b46999b95 .
2025-08-31 13:33:53 -07:00
Magnus Müller
3b46999b95
Rename extract_structured_data to get_markdown
2025-08-31 12:59:02 -07:00
Magnus Müller
5b9bc2ad74
Refactor markdown conversion process by removing markdownify dependency and utilizing html2text for improved content handling. Simplify content preprocessing and cleanup steps to enhance efficiency.
2025-08-31 12:38:58 -07:00
Magnus Müller
9fbc78b0b6
New library for extraction
2025-08-31 12:34:28 -07:00
Magnus Müller
97d022d5a8
improve extract data
2025-08-31 12:01:39 -07:00
Magnus Müller
138cc076fe
Refactor DefaultActionWatchdog to improve tab handling and metadata return
...
- Reduced sleep duration in the watchdog from 0.5s to 0.25s for efficiency.
- Added logic to track if a new tab was opened and included this information in the returned click metadata.
- Updated ClickElementAction to handle optional Ctrl key behavior and reflect new tab opening in memory logging.
2025-08-31 08:37:15 -07:00
Magnus Müller
30b2d631f9
Merge commit 'cb63d579bd61c4239125780d1d658d2eada36a1b' into remove-efficiency-rules
2025-08-30 18:33:56 -07:00
Magnus Müller
f17a13b308
Typo
2025-08-30 18:33:30 -07:00
mertunsall
ca05521b0c
try to prevent overusage of extract_structured_data
2025-08-31 02:52:50 +02:00
mertunsall
87ae7f3976
hotfix
2025-08-31 02:25:08 +02:00
mertunsall
84ebfee661
improve extract structured data
2025-08-31 02:21:17 +02:00
mertunsall
890a535f9e
reenable returning dropdown option when clicked on a select element.
2025-08-30 22:04:16 +02:00