Commit Graph

181 Commits

Author SHA1 Message Date
Nick Sweeting
6f3184f100 Merge pull request #1313 from Haskely/fix/use-ainvoke-for-async 2025-04-21 11:41:43 -07:00
Nick Sweeting
1ac623f798 Merge pull request #857 from neo773/bot-detection-batch 2025-04-21 09:56:27 -07:00
Nick Sweeting
dc59dedbb5 cleanup console colors on exit and silence some unneeded debug logs 2025-04-16 18:11:46 -07:00
Nick Sweeting
8ba3e570e6 Merge branch 'main' into bot-detection-batch 2025-04-16 15:19:02 -07:00
Gregor Žunič
922ad08fd7 removed random unnecesary functions from controller 2025-04-14 11:22:55 +02:00
Gregor Žunič
facab7c9d1 Merge branch 'main' into gregor/lib-53-fix-extraction-layer-problems 2025-04-14 11:15:01 +02:00
Gregor Žunič
dd29dfb7c7 removed click_element_by_text and click_element_by_xpath from default controller 2025-04-14 09:55:55 +02:00
neo773
c33c3aeb35 Merge branch 'main' into bot-detection-batch 2025-04-12 07:25:58 +05:30
LarsenCundric
5d30fefb42 Ensure element handle is visible before trying to scroll into view 2025-04-09 16:58:22 +02:00
Haskely
026ac9551a refactor(controller): use ainvoke for async LLM call in extract_content 2025-04-08 12:09:02 +08:00
Gregor Žunič
62f69caa61 click element by text was used way too much 2025-04-07 14:47:34 +02:00
Gregor Žunič
27b22a3986 Update extraction branch (#1296)
* Add http_credentials to browser context.

* Detect index change caused by page change in `multi_act`

* Fix: Add sameSite cookie validation and auto-correction

* added drag drop action

* added drag drop action

* pre-commit run -a (again)

* added active_tab state management

* add anthropic RateLimitError to list of defined rate limit errors

* Add Retry handling to bedrock example

* fix pydantic issue causing config to be overwritten

* fix config setup

* Add botocore, organize imports

* ignore langchain beta warnings

* silence pydantic deprecation warnings

* Update bedrock_claude for ruff

* ruff checks

* Update pyproject.toml and bedrock_claude.py

* ignore signal registration errors in edge case environments

* ruff fixes

* add example of getting 2FA code from 1password

* add rebrowser and creepjs to stealth tests

* Fix typos discovered by codespell

* uv add --dev codespell

* Update browser_use/browser/context.py

* lint

* Add explanations override_system_message and extend_system_message

* Update custom-functions.mdx

.get_current_page() is an async function which have to be awaited.

* Fix: Remove unnecessary await from _verified_api_keys

* Fix: Correct indentation for cookie loading log message in BrowserContext

* Fix: resolve undefined response variable in Deepseek model raw tool calling mode

* fix: increment consecutive_failure on every step error

* Fix azure example not working due to agent memory changes

* dont expose debug port on all addresses and keep security enabled by default

* custom browser addition

---------

Co-authored-by: Bartlomiej Wietrak <bartekwietrak@gmail.com>
Co-authored-by: Alin Jiang <alineveryday@outlook.com>
Co-authored-by: dipfocus <dipfocus@gmail.com>
Co-authored-by: PaperBoardOfficial <hiremohitforsoftwarerole@gmail.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
Co-authored-by: Alezander9 <alexander.j.yue@gmail.com>
Co-authored-by: dheerajoruganty <db2winfb@gmail.com>
Co-authored-by: Nick Sweeting <git@sweeting.me>
Co-authored-by: Dheeraj Oruganty <53569374+dheerajoruganty@users.noreply.github.com>
Co-authored-by: Bart <46058081+b0rgcube@users.noreply.github.com>
Co-authored-by: Nick Sweeting <github@sweeting.me>
Co-authored-by: pppp606 <ppppp303@gmail.com>
Co-authored-by: Oswy <74738120+oswy-cpu@users.noreply.github.com>
Co-authored-by: BurnyCoder <happymancz@email.cz>
Co-authored-by: zhushijie <mr.zhushijie@gmail.com>
Co-authored-by: john-rtr <jonathan.ratier@gmail.com>
Co-authored-by: mathisarends-viadee <mathis.arends@viadee.de>
Co-authored-by: lorenss-m <saeclmusic@gmail.com>
Co-authored-by: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
2025-04-05 19:08:50 +02:00
neo773
c5dc3d7cfa fix CSP, Shadow DOM & Migrate to Patchright 2025-04-02 07:05:39 +05:30
PaperBoardOfficial
ae4a423e3d lint 2025-04-01 08:14:15 +05:30
Nick Sweeting
298db41c4a Merge branch 'main' into drag_drop 2025-03-31 19:33:28 -07:00
PaperBoardOfficial
9f8218f556 resolved merge conflicts 2025-03-31 16:49:26 +05:30
Christian Clauss
e7c3f43808 Fix typos discovered by codespell 2025-03-31 07:47:56 +02:00
Nick Sweeting
5fa2e133b8 fix pydantic issue causing config to be overwritten 2025-03-30 14:38:12 -07:00
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
PaperBoardOfficial
230eb5f62d added drag drop action 2025-03-29 11:10:31 +05:30
PaperBoardOfficial
6f96453794 added drag drop action 2025-03-29 11:01:09 +05:30
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