Commit Graph

1283 Commits

Author SHA1 Message Date
Anirudha619
5033d643cc fix domain based sensitive_data 2025-06-06 00:04:33 +05:30
Anirudha619
8a1d3a6245 temp fix domain based sensitive data 2025-06-05 01:18:40 +05:30
Nick Sweeting
1580ed6e8b more formatting 2025-06-03 16:03:12 -07:00
Nick Sweeting
a33bd7eea5 bump dependency versions 2025-06-03 16:03:08 -07:00
Nick Sweeting
b424ddebf7 Fix: Windows ProactorEventLoop for Playwright asyncio compatibility (#1875) 2025-06-02 21:35:47 -07:00
Nick Sweeting
b45a69ff7c fix sub-attr set 2025-06-02 17:31:13 -07:00
Nick Sweeting
ec083a495e Merge branch 'main' into browsersession-kill 2025-06-02 17:29:41 -07:00
Nick Sweeting
771ec25ade add BrowserSession.kill method to get around keep_alive=False 2025-06-02 17:28:13 -07:00
TC
28d90aac59 fix: apply linting and formatting fixes 2025-06-02 17:38:58 -04:00
TC
aac14e17a8 feat: add Chrome profile CLI options for local browser profiles
- Add --user-data-dir option to specify Chrome user data directory

- Add --profile-directory option to specify which Chrome profile to use

- Add --cdp-url option to connect to existing Chrome via CDP

- Update browser session creation in prompt mode to use config parameters

- Add comprehensive help text with common Chrome profile locations

- Add example demonstrating Chrome profile usage

This allows users to use their existing Chrome profiles with saved logins and extensions, or connect to already running Chrome instances.
2025-06-02 17:27:34 -04:00
Anirudha619
46e495a3b0 remove manual event loop policy override on Windows (Python ≥3.11 uses Proactor by default) 2025-06-01 17:54:55 +05:30
Nick Sweeting
ff791997af Fix available vector providers, local logic, and example (#1858) 2025-05-31 17:00:04 -07:00
Nick Sweeting
9f1006b0ac prevent _log_pretty_path from showing raw cookie values in logs 2025-05-31 15:09:28 -07:00
Anirudha619
dda842a199 Fix: Use ProactorEventLoop on Windows for Playwright compatibility 2025-05-31 23:44:44 +05:30
tinkerer-shubh
c461d77285 fix formatting 2025-05-31 19:26:25 +05:30
tinkerer-shubh
3582a4922e feat: convert synchronous file operations to async in BrowserSession - Convert 6 file operations from sync to async using anyio.Path() - Fix critical merge logic bug in save_storage_state - Improves I/O performance by preventing event loop blocking - Maintains backward compatibility and existing error handling 2025-05-31 19:11:00 +05:30
Mert Unsal
78689a0744 Merge branch 'main' into mert/bump_langchain 2025-05-30 18:09:45 +02:00
Nick Sweeting
d41ee112b0 fix downloads check on click timing out 2025-05-30 03:56:42 -07:00
Nick Sweeting
6cc01c71e6 fix timeouterror on download 2025-05-30 03:52:24 -07:00
mertunsall
a11bf24f48 bumped langchain versions and fixed llama 4 2025-05-30 11:31:05 +02:00
Nick Sweeting
b03366e5b0 track source=cli in telemetry 2025-05-29 22:01:26 -07:00
Nick Sweeting
2d8667dd6c fix attr doesnt exist 2025-05-29 20:15:53 -07:00
Nick Sweeting
d2f6dc71a3 Update browser_use/utils.py
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-05-29 21:47:50 -04:00
Nick Sweeting
2e3550ebec auto-load storage_state into remote browsers as well, use downloads_dir for everything 2025-05-29 17:58:47 -07:00
EnzoFanAccount
6477fca147 Fix vector providers and example 2025-05-29 20:45:06 -03:00
Nick Sweeting
a85ae8ca3c merge save_downloads_path and downloads_dir duplicate options 2025-05-29 14:51:21 -07:00
Nick Sweeting
4391eeba4d re-enable scrollbars in screenshots 2025-05-29 11:45:06 -07:00
Gregor Žunič
f5f0c19593 added more included attributes 2025-05-28 19:12:18 +02:00
Nick Sweeting
0478987258 Add screenshot timeout and fallback method when full-page screenshot times out (#1829) 2025-05-28 03:15:18 -07:00
Nick Sweeting
42b8d4992a Merge branch 'main' into hot-fix/interactive-element-event-checking 2025-05-28 02:50:34 -07:00
Nick Sweeting
93e1e246ce Update browser_use/browser/session.py
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-05-28 05:21:17 -04:00
Nick Sweeting
b6ee0d1284 handle waiting for fonts to load error 2025-05-28 02:12:19 -07:00
Nick Sweeting
2195ce6e1b wrap windows async adjustment in except 2025-05-28 02:03:28 -07:00
Nick Sweeting
02254d8107 set windows async event loop policy to fix playwright async issues 2025-05-28 02:00:40 -07:00
Nick Sweeting
a5225c9fc4 add fallback method for full-page screenshots 2025-05-28 02:00:26 -07:00
Nick Sweeting
26e5853150 limit screenshot wait for load timeout 2025-05-28 01:17:09 -07:00
Nick Sweeting
4b48900af9 show warning when BrowserSession gets conflicting config params 2025-05-27 23:34:23 -07:00
Nick Sweeting
191544705e also save storage_state in save_cookies 2025-05-27 22:31:32 -07:00
Nick Sweeting
2ff49d14d7 Update browser_use/browser/session.py
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-05-28 00:04:17 -04:00
Nick Sweeting
f5bb3828a0 re-add support for cookies_file param 2025-05-27 20:50:31 -07:00
Nick Sweeting
02ec9c8c6a improve BrowserSession auto-restart on disconnection logic 2025-05-27 17:09:02 -07:00
Nick Sweeting
a03d4a9b13 fix issue 1817 BrowserSession.create_new_tab was never awaited 2025-05-27 15:55:51 -07:00
Ajith George Sam
0b0adeb1a7 Merge branch 'main' into main 2025-05-27 09:28:13 +05:30
Alezander9
bf13e9dca7 remove problematic env display inherit code 2025-05-26 20:12:09 -07:00
Nick Sweeting
78a1bef57a more test cleanups 2025-05-26 19:07:25 -07:00
Nick Sweeting
09a671f562 Merge branch 'main' into main 2025-05-26 18:45:07 -07:00
Nick Sweeting
74afa65d69 remove dead code, cleanup examples and tests 2025-05-26 18:38:30 -07:00
Nick Sweeting
f19adf9bb3 remove dead code, cleanup examples and tests 2025-05-26 18:37:52 -07:00
Nick Sweeting
c2db247bac Add support for browser-use -p 'some prompt here...' oneshot CLI (#1797) 2025-05-26 18:30:14 -07:00
Nick Sweeting
c41cb56fae replace example output in history log with placeholder to avoid confusion 2025-05-26 17:36:25 -07:00