Nick Sweeting
8ba9934542
make it not a hard error if no required keys are set for a model
2025-03-29 20:56:35 -07:00
Nick Sweeting
ccc673bb42
Update browser_use/controller/service.py
2025-03-29 05:41:46 -04:00
Nick Sweeting
d89c02ab5a
Update browser_use/controller/service.py
2025-03-29 05:41:23 -04:00
Nick Sweeting
8a05d0f0a1
cap filename length
2025-03-29 05:35:34 -04:00
Naymul Islam
2696c1a0cb
Merge branch 'main' into feature/html_download
2025-03-29 14:04:18 +06:00
Nick Sweeting
fb6fa259a8
apply ruff safe fixes
2025-03-28 18:11:36 -07:00
Nick Sweeting
ec56bfe81b
run ruff on the entire codebase
2025-03-28 01:22:48 -07:00
Nick Sweeting
f8f2eaa5b8
simplify domain and filter matching logic
2025-03-28 01:04:44 -07:00
Nick Sweeting
f382c2e612
Merge branch 'main' into action-filters
2025-03-28 00:42:05 -07:00
Nick Sweeting
82adf4520d
fix page filter and/or domain filtering logic
2025-03-27 23:48:01 -07:00
Nick Sweeting
5535a1ec0a
update pydantic action models exposed to LLM on each page
2025-03-27 23:43:31 -07:00
Nick Sweeting
56977be7d1
Merge branch 'main' into Improve-click-by-text-handling
2025-03-27 19:43:34 -07:00
Nick Sweeting
f941a5cec9
add support for filtering actions by func or domain globs
2025-03-27 19:04:17 -07:00
Nick Sweeting
22e544219c
add domains list to RegisteredAction
2025-03-27 18:32:42 -07:00
Nick Sweeting
cb6e2a94d4
Update service.py
2025-03-27 20:47:15 -04:00
Nick Sweeting
d2d8a7e3c6
Merge branch 'main' into Add-wait-for-element-action
2025-03-27 17:45:08 -07:00
Nick Sweeting
7eaf1e2737
Merge pull request #981 from Nimbleway/make-extraction-context-smaller
...
Make the context in `extract_content` action smaller
2025-03-27 17:41:16 -07:00
jersobh
369ad2e3b6
add better click to css selector as well
2025-03-27 16:23:52 +00:00
jersobh
f6960ad80e
improving the element click to fallback to js evaluate; use optional element type
2025-03-27 16:21:09 +00:00
Nick Sweeting
b47c20c780
Merge branch 'main' into Click-on-non-indexed-elements
2025-03-26 16:50:35 -07:00
Nick Sweeting
85fc7c7e90
add support for close_tab action
2025-03-26 14:07:03 -07:00
Jeff Andrade
0e5e108e10
Merge branch 'browser-use:main' into Click-on-non-indexed-elements
2025-03-26 09:37:09 +00:00
jersobh
4a201f4c69
handling multiple elements with the same text
2025-03-26 02:53:14 +00:00
Nick Sweeting
d95527ab27
Merge branch 'main' into enhancement/add_tabGroups_chrome
2025-03-25 16:34:08 -07:00
Nick Sweeting
21dec0dc7f
skip iframes that already have tabs open
2025-03-24 10:59:48 -07:00
jersobh
11e4ba4138
fix small typo
2025-03-24 12:38:11 +00:00
jersobh
63f54cc100
Clicking by xpath, css selector or text
2025-03-24 12:34:01 +00:00
Naymul Islam
1f3115e63a
refactor the imports
...
Signed-off-by: Naymul Islam <naymul504@gmail.com >
2025-03-24 02:24:52 +06:00
Naymul Islam
d417d53893
remove is done true for not to stop the action after the download
...
Signed-off-by: Naymul Islam <naymul504@gmail.com >
2025-03-24 02:16:21 +06:00
Naymul Islam
e4936773d1
fix the actionresult issue
...
Signed-off-by: Naymul Islam <naymul504@gmail.com >
2025-03-24 02:14:20 +06:00
Nick Sweeting
421ecd597f
Merge branch 'main' into nick/tri-4-make-cross-site-iframes-work-without-disabling-chrome
2025-03-23 00:52:33 -07:00
Nick Sweeting
2f5081327b
make inner text within iframes readable to LLM
2025-03-22 19:44:36 -07:00
Nick Sweeting
a742d81122
fix tab title check breaking discovery of active tab at startup
2025-03-22 19:44:13 -07:00
Anish Hiranandani
45e23bb838
removed SavePDFAction and set print bg to False
2025-03-22 14:05:11 -07:00
Anish Hiranandani
32f54739d5
Update browser_use/controller/service.py
...
Improvements to use simple file naming instead of LLM generated
Co-authored-by: Nick Sweeting <github@sweeting.me >
2025-03-22 14:02:06 -07:00
Anish Hiranandani
561aef038f
Update browser_use/controller/service.py
...
No need for SavePDFAction
Co-authored-by: Nick Sweeting <github@sweeting.me >
2025-03-22 14:01:27 -07:00
Anish Hiranandani
e837081ffb
changes to set media type to screen and format to A4
2025-03-22 11:42:55 -07:00
Anish Hiranandani
552d4ff81c
added 2 params to action
2025-03-21 00:32:32 -07:00
Anish Hiranandani
8ccde19103
added feature to save webpage as PDF to given path
2025-03-21 00:02:34 -07:00
mkuts12
29678f60d5
allow LLM to decide whether it's needed to strip the URLs
2025-03-11 16:39:44 +02:00
mkuts12
b2fb7c42e7
Adding the strip to markdownify will keep the text but not add the url to the data.
...
This transformed a text of 367277 characters to 48969.
Quick fix to a more deep problem
2025-03-09 18:55:33 +02:00
guybensimhon1
dc24574e7c
Separated internal output model from suplied model, and fixed a parsing bug of Enum fields
2025-03-06 19:41:20 +02:00
shudaizi1989
5b08613a27
Fix:mutable default argument. ( #901 )
2025-03-02 12:52:30 -08:00
Magnus Müller
ac07642b6c
Improve type safety and clarify task completion instructions
...
- Add type hints and type ignore comments in service.py for image message handling
- Update system prompt to provide clearer guidance on done action usage
- Refine action description for done action in controller service
- Enhance documentation for task completion scenarios
2025-02-23 09:31:01 -08:00
Magnus Müller
84f5f1cf8b
Instruction for unfinished tasks
2025-02-23 09:15:40 -08:00
Magnus Müller
88f018ad81
Update system prompt and service for task completion handling
...
- Modify system prompt to clarify done action usage when max steps are reached
- Update service to provide more descriptive action description for task completion
- Add explicit handling for task success status in done action
- Enhance documentation for done action to indicate task completion state
2025-02-23 09:03:59 -08:00
Magnus Müller
d881b9f61d
Enhance agent task completion and max steps handling
...
- Add support for creating a done-only action model
- Modify logging to distinguish between successful and unfinished tasks
- Update agent to switch to done action model when max steps are reached
- Improve system prompt to clarify done action usage in max steps scenario
- Extend registry action model creation to support filtering actions
2025-02-23 07:46:21 -08:00
Magnus Müller
c07b5c9a94
Add last step warning and enhance action result tracking
...
- Introduce warning message for the last step in the agent
- Add `success` parameter to `ActionResult` and `DoneAction`
- Modify `AgentStepInfo` to check for last step
- Update `AgentHistoryList` methods to handle optional values and success status
2025-02-22 23:43:41 -08:00
Magnus Müller
1dfc72aac4
Wait function
2025-02-22 10:33:52 -08:00
Magnus Müller
bf5b180da5
Include timings for more functions
2025-02-21 16:18:43 -08:00