Commit Graph

2964 Commits

Author SHA1 Message Date
Magnus Müller
a652335316 Remove outdated methods 2025-08-31 11:31:32 -07:00
Magnus Müller
33f69b1525 less-timeouts 2025-08-31 11:18:47 -07:00
Magnus Müller
486c631132 Fix noqa 2025-08-31 10:35:14 -07:00
Magnus Müller
d9e06700bd fix-viewport 2025-08-31 10:25:29 -07:00
Magnus Müller
833ad7128d Remove comment 2025-08-31 09:34:45 -07:00
Magnus Müller
1b5b360ae8 smaller-highlights-with-screensize 2025-08-31 09:29:18 -07:00
Magnus Müller
bbd24f7d5d Merge branch 'main' into new-tab-info 2025-08-31 08:45:51 -07:00
Magnus Müller
e10826ca34 Fix Bug: Async Function Error in Screenshot Handling 2025-08-31 08:45:00 -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
929489352e Len to show highlight index set less than 3 2025-08-31 08:18:12 -07:00
Mert Unsal
ea5c6b558e Enable highlights by default 2025-08-31 08:17:23 -07:00
Magnus Müller
0caa3546c3 Merge branch 'smaller-highlights' of https://github.com/browser-use/browser-use into smaller-highlights 2025-08-31 08:14:35 -07:00
Magnus Müller
8ecc46daf6 Update system prompts for clarity and adjust bounding box rendering in Python highlights
- Revised system prompt descriptions to clarify the provision of screenshots and bounding boxes for interactive elements.
- Enhanced bounding box positioning logic in `python_highlights.py` to improve visibility and avoid content blocking.
- Updated screenshot logging to reflect dynamic filename usage.
2025-08-31 08:14:32 -07:00
Magnus Müller
c36ea38e78 Merge branch 'main' into smaller-highlights 2025-08-31 07:57:52 -07:00
Magnus Müller
20193556a1 Add PNG files to .gitignore and refactor screenshot saving in Python highlights
- Updated .gitignore to exclude PNG files.
- Refactored the screenshot saving logic in `python_highlights.py` to use an environment variable for the filename and added async file writing for improved performance.
- Adjusted font size and padding to fixed values for consistent appearance across different screen sizes.
2025-08-31 07:57:24 -07:00
Magnus Müller
81461cdfff Adjust font size and padding calculations for enhanced bounding box rendering in Python highlights; update task description in example script for clarity. 2025-08-31 07:43:38 -07:00
mertunsall
6de9261b85 disable highlights by default 2025-08-31 12:46:24 +02:00
mertunsall
5bce1b6898 enable auto download pdfs 2025-08-31 12:40:24 +02:00
mertunsall
145b319d83 update sys prompts 2025-08-31 11:58:15 +02:00
Magnus Müller
1596f25a5a System prompt efficiency_guidelines 2025-08-30 18:39:10 -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
Magnus Müller
889657a273 Linter 2025-08-30 18:30:49 -07:00
Magnus Müller
84c644aedb Patch extension with whitelist 2025-08-30 18:27:21 -07:00
Magnus Müller
f50cc45b51 Works to remove cookies 2025-08-30 18:14:59 -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
Mert Unsal
157d0804cb Merge branch 'main' into correction-in-docs 2025-08-31 00:50:59 +02:00
Mert Unsal
e07ad3bc32 Merge branch 'main' into os-font-fix 2025-08-31 00:48:49 +02:00
Mert Unsal
0388404396 Merge branch 'main' into mert/better_browser_exceptions 2025-08-30 22:05:17 +02:00
mertunsall
890a535f9e reenable returning dropdown option when clicked on a select element. 2025-08-30 22:04:16 +02:00
mertunsall
b60dc35ff0 reactivate the hack for now 2025-08-30 21:52:18 +02:00
mertunsall
9f8a635910 try to catch timeout errors too 2025-08-30 21:37:12 +02:00
mertunsall
1abee767cb hotfix 2025-08-30 21:09:20 +02:00
mertunsall
09c27fc2cc dont default 2025-08-30 21:08:26 +02:00
Mert Unsal
c695bb05e4 Update browser_use/tools/registry/service.py
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-08-30 21:06:36 +02:00
mertunsall
afd7c46ccf fix bug from merge 2025-08-30 21:01:23 +02:00
Mert Unsal
93d808ad91 Merge branch 'main' into mert/better_browser_exceptions 2025-08-30 20:53:05 +02:00
mertunsall
b177f3166e better exception handling from browser events -> LLM 2025-08-30 20:50:42 +02:00
Gregor Žunič
b141034ff3 Merge branch 'main' into c/better-frameset-detection 2025-08-30 11:15:58 -07:00
Magnus Müller
89af16361f Add timeouts 2025-08-30 11:04:14 -07:00
Magnus Müller
799fe88aa5 New extension 2025-08-30 11:03:55 -07:00
Magnus Müller
2c40bd23a8 Fix url preload 2025-08-30 10:42:25 -07:00
Magnus Müller
b9ab642d0c Update efficiency guidelines to include new scrolling instructions for extracting structured data. Clarified usage of the scroll action to enhance clarity and efficiency in multi-step processes. 2025-08-30 10:39:50 -07:00
Magnus Müller
3d8f793406 Enhance efficiency guidelines by clarifying action chaining restrictions and emphasizing the importance of clear goals per step. Added instructions to avoid multiple state changes in a single action sequence. 2025-08-30 10:24:26 -07:00
Magnus Müller
89cb9ef954 More efficient scroll instruction 2025-08-30 10:00:28 -07:00
Magnus Müller
d97462e49a New efficiency guidelines 2025-08-30 09:54:40 -07:00
Magnus Müller
b638958bb5 Revert "Remove efficiency_guidelines"
This reverts commit 781f2131ee.
2025-08-30 09:46:48 -07:00
Magnus Müller
3dac24ddec Update docstrings for click_element_by_index and input_text actions to clarify usage restrictions regarding browser_state indices. 2025-08-30 01:01:03 -07:00