Commit Graph

169 Commits

Author SHA1 Message Date
duyua9 e89f3aaae2 fix: handle locked Chrome profile copies 2026-05-09 23:17:17 +08:00
Laith Weinberger 29da480659 replace MV2 extensions with MV3 + remove chrome flags that block extension loading 2026-03-22 14:17:56 -04:00
g97iulio1609 198fb6f277 fix: remove redundant local tempfile imports
tempfile is already imported at module level (line 3). The local
imports inside set_default_downloads_path() and _extract_extension()
were shadowing the module-level import with no effect.

Refs: browser-use/browser-use#4242
2026-03-01 11:56:50 -05:00
g97iulio1609 9939aa8f11 fix: use tempfile.gettempdir() instead of hardcoded /tmp for cross-platform compat
On Windows, Python resolves '/tmp' to the current drive root (e.g. C:\TMP),
creating unwanted folders. Use tempfile.gettempdir() which returns the
platform-appropriate temp directory on all operating systems.

Applied to:
- browser_use/browser/profile.py: BrowserProfile downloads_path default
- browser_use/code_use/service.py: CodeUseService agent_directory base

Fixes #4165
2026-03-01 11:56:50 -05:00
Laith Weinberger e239d1f523 fix: remove redundant local tempfile imports
tempfile is already imported at module level (line 3). The local
imports inside set_default_downloads_path() and _extract_extension()
were shadowing the module-level import with no effect.

Refs: browser-use/browser-use#4242
2026-03-01 11:44:20 -05:00
reformedot ed28e50806 feat: added automatic captcha solver handling via CAPTCHA watchdog 2026-02-23 10:51:02 -08:00
Saurav Panda 556d1bc022 added BROWSER_USE_DISABLE_EXTENSIONS env var to disable extension 2025-12-17 17:31:46 -08:00
Mert Unsal a742645416 Revert "Improve demo mode" 2025-11-29 13:09:20 -08:00
Mert Unsal a048d97eab Merge branch 'main' into attempt-fix-real-browser 2025-11-26 13:22:22 -08:00
kalil0321 7160f5cf1b Add demo panel script generator and update profile for demo mode display 2025-11-18 17:30:52 +01:00
kalil0321 73f4138b10 Merge branch 'main' into attempt-fix-real-browser 2025-11-16 11:58:58 +01:00
kalil0321 3f64178894 Implement demo mode for in-browser logging 2025-11-08 21:39:57 +01:00
kalil0321 680c71bdec Merge branch 'main' into attempt-fix-real-browser 2025-11-03 16:21:58 +01:00
Gregor Žunič 9c88c5a828 better cloud params 2025-10-30 13:05:41 -07:00
kalil0321 7a98f78f4a Enhance profile copying in BrowserProfile class to include 'Local State' directory 2025-10-23 18:13:02 +02:00
kalil0321 4da80bf15d Refactor Chrome detection logic in BrowserProfile class 2025-10-23 17:24:45 +02:00
kalil0321 d592723be9 Should copy profile only for Chrome 2025-10-23 17:02:05 +02:00
kalil0321 481b1b5f45 Add profile copying to BrowserProfile class 2025-10-23 16:22:58 +02:00
Magnus Müller c9e2886e13 wait between actions to 0.1 2025-10-12 17:09:51 -07:00
Magnus Müller 846e0c89f6 Force background tab extension 2025-10-12 15:57:58 -07:00
Magnus Müller 3d92c2061a Default wait between actions 0.25 2025-10-11 17:27:46 -07:00
Magnus Müller e283d913ef Default orange 2025-10-09 11:45:41 -07:00
Magnus Müller 1086a5634c Init 2025-10-09 11:44:07 -07:00
kalil0321 99c9beb3ce Merge branch 'main' into previous-highlighting 2025-10-08 23:04:59 +02:00
mertunsall 5160ca3562 IP blocking feature 2025-10-03 17:57:11 +02:00
Magnus Müller 2e874d0095 Remove profile args which prevent cookie usage 2025-10-01 21:35:56 -07:00
mertunsall 16457c2a5e Blocked domains are optimized!!! 2025-10-01 19:25:30 +02:00
kalil0321 aea2266742 Add validation to BrowserProfile to prevent conflict between highlight_elements and dom_highlight_elements 2025-09-29 15:58:24 +02:00
kalil0321 b602600686 Update BrowserProfile and BrowserSession to utilize dom_highlight_elements for DOM highlighting 2025-09-29 15:51:31 +02:00
kalil0321 3aa5cfde41 Rename 'debug_highlight_elements' to 'dom_highlight_elements' in BrowserProfile for clarity 2025-09-29 15:37:31 +02:00
kalil0321 ec8ad39ee2 Separate python highlighting and DOM highlighting by creating a debug_highlight_element 2025-09-29 15:07:23 +02:00
kalil0321 345ddedc8d Update default value of highlight_elements to False in BrowserProfile class 2025-09-29 14:54:57 +02:00
Saurav Panda 303be11758 remove set_use_cloud_from_env 2025-09-18 18:42:17 -07:00
Saurav Panda 4659f60c29 refc: made use_cloud false by default and added live_url to info 2025-09-18 18:31:59 -07:00
Saurav Panda 0a13273fc2 refc: renamed cloud_browser to use_cloud 2025-09-18 15:29:49 -07:00
Saurav Panda 85a2386c91 feat: added cloud_browser feature 2025-09-16 22:27:45 -07:00
Matic Zavadlal 48c96b6318 fixes 2025-09-14 18:53:04 -07:00
Matic Zavadlal c807f4d36e add prohibited domains 2025-09-14 18:31:57 -07:00
Magnus Müller 744dd53c61 Refactor max_iframe_depth field formatting in BrowserProfile class for improved readability. 2025-09-08 08:48:19 -07:00
Magnus Müller 3afd3ff7b2 Update browser_use/browser/profile.py
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-09-08 08:45:54 -07:00
Magnus Müller 700910126a make iframe depth variable 2025-09-08 08:17:15 -07:00
Gregor Žunič d2d56ee656 renamed comment 2025-09-07 22:27:38 -07:00
Gregor Žunič f4f18eacc3 Merge branch 'main' into feature/paint-order-filtering 2025-09-07 22:02:49 -07:00
Gregor Žunič 05408613b9 Merge branch 'main' into feature/paint-order-filtering 2025-09-07 21:07:19 -07:00
Magnus Müller f9426a239e enable-cross_origin_iframes 2025-09-07 20:57:20 -07:00
Gregor Žunič c2eede8e20 paint order filtering 2025-09-07 20:56:48 -07:00
Magnus Müller 77eeed5cf0 Update default cross-origin iframe setting to False for enhanced security and performance 2025-09-07 20:39:11 -07:00
Magnus Müller a0dd0c99a7 Update default cross-origin iframe setting to True for improved support 2025-09-07 20:04:36 -07:00
Magnus Müller 3dcd3c4b02 Update default cross-origin iframe setting to False and adjust tree serialization depth handling 2025-09-07 19:35:21 -07:00
Magnus Müller f164d94306 Merge branch 'main' into iframe-limits 2025-09-07 19:30:02 -07:00