Nick Sweeting
dc80ea32f0
working nav and screenshots and highlighting
2025-08-06 21:04:09 -07:00
Nick Sweeting
fe113d7094
rebuild manually
2025-08-06 21:01:03 -07:00
Nick Sweeting
3b685e54d8
cdp session caching updates
2025-08-06 20:52:12 -07:00
Nick Sweeting
50be4c3a94
working events for launch and nav
2025-08-06 19:47:54 -07:00
Nick Sweeting
93d6fe209b
working events for launch and navigate
2025-08-06 19:47:34 -07:00
Nick Sweeting
936f7d7d35
more playwright tearout
2025-08-06 04:06:34 -07:00
Nick Sweeting
13ce936128
add session.py cdp helpers
2025-08-05 18:30:53 -07:00
Nick Sweeting
46dd9bd584
wip
2025-08-05 17:45:48 -07:00
Nick Sweeting
14c7d47fd9
make Click action more flexible to take over node and idx-based clicking
2025-08-05 05:14:12 -07:00
Nick Sweeting
328a4b5be4
Merge branch 'feature/new-dom-extraction-layer' into local-remote-split
2025-08-05 03:12:48 -07:00
Gregor Žunič
0aa3d54233
Merge commit '9b882faa10c54be5a870cc5d8abd6ddb19d0682f' into feature/new-dom-extraction-layer
2025-08-02 11:41:28 -07:00
Nick Sweeting
cdf941b0e8
lint and test fixes
2025-08-01 03:26:25 -07:00
Nick Sweeting
ebc3a3846f
wip cleanup flow]
2025-07-31 22:10:25 -07:00
Nick Sweeting
f236127e59
Merge branch 'main' into claude-issue-2471-20250718-0729
2025-07-23 00:50:15 -07:00
Magnus Müller
7a619c3612
Refactor wait time logging in Controller to simplify message formatting
2025-07-20 16:34:27 +02:00
Magnus Müller
af04b713d5
Fix lint errors
2025-07-20 16:14:42 +02:00
Magnus Müller
0e64c846ae
Refactor wait action to adjust for initial wait time and simplify ActionResult return
...
- Updated the wait action to account for the initial 3 seconds already waited, ensuring accurate logging of total wait time.
- Simplified the ActionResult return by removing unnecessary parameters.
2025-07-19 19:50:13 +02:00
Nick Sweeting
d93d1b1152
Merge branch 'main' into claude-issue-2471-20250718-0729
2025-07-18 15:16:22 -07:00
Magnus Müller
e6df7081be
Dont use selector_map inside the controller - use get_dom_element_by_index
2025-07-18 13:08:43 +02:00
Magnus Müller
74f2be9f1e
Simplify element exist checks in click and input_text
2025-07-18 13:06:07 +02:00
Magnus Müller
f9511deb4b
If click fails just raise error, because in the next step we will get the new state again
2025-07-18 13:04:56 +02:00
Magnus Müller
225e5532de
Refactor scrolling logic in service.py to improve error handling and streamline element-specific scrolling. Removed commented-out code for accessibility tree retrieval and enhanced logging for debugging scroll attempts.
2025-07-18 13:04:06 +02:00
Magnus Müller
6f117bcbdc
dont refresh page if index is not there
2025-07-18 12:57:00 +02:00
claude[bot]
a72da41509
feat: Add ARIA menu support to dropdown functions
...
- Extended get_dropdown_options to detect and handle ARIA menus with role=menu
- Extended select_dropdown_option to click on ARIA menu items
- Added support for role=menu, role=listbox, and role=combobox elements
- Added tests for ARIA menu functionality
- Maintains backward compatibility with native select elements
Fixes #2471
Co-authored-by: Nick Sweeting <pirate@users.noreply.github.com >
2025-07-18 07:40:21 +00:00
Magnus Müller
061e24b976
Merge remote-tracking branch 'origin/main' into extraction-magnus-revert-with-main
2025-07-14 18:35:21 +02:00
Mert Unsal
e655986bab
Update browser_use/controller/service.py
...
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-07-14 13:33:03 +02:00
mertunsall
dbb4222141
precommit run
2025-07-14 13:32:29 +02:00
Mert Unsal
7d72b013e4
Merge branch 'main' into cursor/limit-wait-action-to-10-seconds-5522
2025-07-14 13:29:51 +02:00
Cursor Agent
c0c1d86fea
Cap wait action at maximum 10 seconds
...
- Updated wait action to limit maximum wait time to 10 seconds
- Added clear logging when wait time is capped
- Updated action description to mention the 10-second limit
- Preserves existing behavior for wait times ≤ 10 seconds
2025-07-14 11:26:47 +00:00
Magnus Müller
48c9035566
Merge remote-tracking branch 'origin/main' into laminar-ignore-input-output
2025-07-14 13:23:45 +02:00
mertunsall
92da75520b
fixes based on evals
2025-07-11 18:36:58 +02:00
Mert Unsal
57f25218a5
Apply suggestions from code review
...
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-07-11 18:10:27 +02:00
mertunsall
d1f532b45d
- remove append_file and instead merge it into write_file
...
- new replace_file_str
- add trailing new lines and leading_newline parameters to writing into file for robustness
- adapt system prompts accordingly
2025-07-11 17:58:01 +02:00
Gregor Žunič
7bf17064f6
started migration to pure cdp
2025-07-11 14:19:22 +02:00
Magnus Müller
6407c10918
laminar-ignore input output
2025-07-09 22:27:22 +02:00
mertunsall
709569e3ab
pdf file creation supported.
2025-07-09 13:02:15 +02:00
Magnus Müller
39208a3e19
Update browser_use/controller/service.py
...
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-07-08 23:28:15 +02:00
Magnus Müller
6f446b8a03
Increase timeouts
2025-07-08 22:24:17 +02:00
Nick Sweeting
c080e86ec2
remove uneeded retry helper
2025-07-08 03:21:18 -07:00
Nick Sweeting
48086d0cdd
use retry decorator from bubus
2025-07-08 03:16:22 -07:00
Magnus Müller
f121a8e9b8
Scroll with mouse
2025-07-08 11:09:18 +02:00
Magnus Müller
ec68a7e28e
Edit result object
2025-07-08 10:32:17 +02:00
Magnus Müller
81e5fb49a2
Remove logging
2025-07-08 10:27:01 +02:00
Magnus Müller
6e7880f0fc
Scrolling in container works
2025-07-08 10:13:22 +02:00
Cursor Agent
168719561e
Add element-specific scrolling with optional index parameter
...
Co-authored-by: mamagnus00 <mamagnus00@gmail.com >
2025-07-08 07:56:57 +00:00
Daniel T.
c5a3c0cf2e
Refines dynamic page state calculations
...
Replaces static page statistics with dynamic calculations for
viewport and scroll position metrics. Simplifies code logic in
scroll handling by removing unnecessary defaults for page
scrolling. Improves readability and reliability of page
scroll operations by requiring explicit num_pages parameter.
Enhances page-view consistency and user interaction handling.
2025-07-07 21:22:12 +02:00
Daniel T.
f6b45837e9
Removes redundant return statement after retry
...
Eliminates an unnecessary return check for action_result
after evaluating the window height, simplifying the code
and ensuring the correct flow of the scroll retry logic.
2025-07-07 19:12:57 +02:00
Daniel T.
55c392a8a3
Merge remote-tracking branch 'upstream/main' into enhancement/improved-scroll-action
2025-07-07 19:04:35 +02:00
Daniel T.
539274a7d4
Updates scroll functionality to use page units
...
Replaces pixel-based scrolling with page unit determination, allowing for more intuitive scroll actions by specifying the number of pages. Adjusts related documentation, examples, and tests to reflect this change for improved code consistency and user experience.
2025-07-07 18:21:37 +02:00
Daniel T.
a6dc763f82
Removes redundant whitespace in action result
...
Streamlines code by eliminating unnecessary line
breaks in action result construction for clarity.
2025-07-07 17:39:06 +02:00