Commit Graph

231 Commits

Author SHA1 Message Date
Magnus Müller a4e8eebdd1 Wait log 2025-10-11 12:53:43 -07:00
Magnus Müller f09004ebd5 include todo in files 2025-10-11 10:52:44 -07:00
Magnus Müller 1086a5634c Init 2025-10-09 11:44:07 -07:00
Magnus Müller 78b53a34b7 update tools 2025-10-08 22:16:41 -07:00
Magnus Müller 6944d4a533 Null checks 2025-10-05 20:36:23 -07:00
Magnus Müller 3eed1345c5 Increase descriptions 2025-10-05 19:41:29 -07:00
Magnus Müller 6d941a5dcc Rename Clear existing to clear 2025-10-05 19:32:39 -07:00
Magnus Müller 84b07cce8c Update parameter dict 2025-10-05 15:24:37 -07:00
Magnus Müller 90d414042a Update docs 2025-10-05 15:09:35 -07:00
Magnus Müller 47bf973285 Default value for extract_links 2025-10-05 13:46:31 -07:00
Magnus Müller f0acb6b338 Replace tool names like go_to_url wtih navigate 2025-10-05 13:31:38 -07:00
Magnus Müller 50f97000e4 file parameter naming 2025-10-05 13:21:14 -07:00
Magnus Müller ae3b2a5926 Remove descripitons 2025-10-05 13:06:19 -07:00
Magnus Müller 1248c07e83 Remove descripitons 2025-10-05 13:02:43 -07:00
Magnus Müller ad9b174762 Fix param 2025-10-05 12:18:21 -07:00
Magnus Müller 18b7dd95a4 Fix param 2025-10-05 12:16:13 -07:00
Magnus Müller 55d10605fd Shorter tools 2025-10-05 11:59:12 -07:00
Magnus Müller 7b995b7fc1 Refactor action field descriptions in AgentOutput models
- Removed redundant description from action field in AgentOutput and its subclasses.
- Updated action extraction documentation in Tools to clarify usage and limitations.
- Enhanced search_engine field description in SearchAction for better clarity on default behavior.
2025-10-05 11:29:19 -07:00
Magnus Müller 22acf58424 Shorter tools 2025-10-05 11:22:54 -07:00
Magnus Müller 9a655e56c5 Shorter tool description 2025-10-05 11:09:15 -07:00
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 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 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 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