Commit Graph

163 Commits

Author SHA1 Message Date
Gregor Žunič 484062bd83 fixed user_agent param 2025-09-03 16:07:29 -07:00
Magnus Müller 2bb18c899c Remove unused observability decorator from detect_display_configuration method in profile.py 2025-09-03 15:22:15 -07:00
Saurav Panda 97a9dca021 Merge branch 'main' into fix-disable-security-bug 2025-08-31 12:20:08 -07:00
Magnus Müller 486c631132 Fix noqa 2025-08-31 10:35:14 -07:00
Magnus Müller d9e06700bd fix-viewport 2025-08-31 10:25:29 -07:00
Saurav Panda 7e32e5be74 Merge branch 'main' into fix-disable-security-bug 2025-08-31 09:49:44 -07:00
Mert Unsal ea5c6b558e Enable highlights by default 2025-08-31 08:17:23 -07:00
mertunsall 6de9261b85 disable highlights by default 2025-08-31 12:46:24 +02:00
mertunsall 5bce1b6898 enable auto download pdfs 2025-08-31 12:40:24 +02:00
Magnus Müller 889657a273 Linter 2025-08-30 18:30:49 -07:00
Magnus Müller 84c644aedb Patch extension with whitelist 2025-08-30 18:27:21 -07:00
Magnus Müller f50cc45b51 Works to remove cookies 2025-08-30 18:14:59 -07:00
Magnus Müller 799fe88aa5 New extension 2025-08-30 11:03:55 -07:00
Magnus Müller e8bd85865d Add filter for highlight IDs in screenshot generation and update element colors
- Introduced `filter_highlight_ids` option in `BrowserProfile`, `BrowserSession`, and `create_highlighted_screenshot` to control the visibility of element IDs based on text length.
- Updated `draw_enhanced_bounding_box_with_text` to utilize the new filtering logic for enhanced visual clarity.
- Changed the color of text areas from yellow to orange for improved visibility in the UI.
2025-08-29 20:56:03 -07:00
Magnus Müller 8511c2d398 Remove display highlights on screen feature and adjust bounding box drawing parameters
- Eliminated the `display_highlights_on_screen` option from `BrowserProfile` and `BrowserSession` to streamline the highlighting functionality.
- Updated the `draw_enhanced_bounding_box_with_text` function to increase font size for better visibility and reduced padding for a more compact layout.
- Removed associated screenshot overlay logic in `DOMWatchdog` to reflect the removal of the display highlights feature.
2025-08-29 20:38:57 -07:00
Magnus Müller 634dd20e37 Add display highlights on screen feature and enhance bounding box drawing
- Introduced `display_highlights_on_screen` option in `BrowserProfile` and `BrowserSession` to control the visibility of highlights directly on the browser screen.
- Implemented `draw_enhanced_bounding_box_with_text` function to improve the visual representation of highlighted elements with larger indices and solid borders.
- Updated screenshot overlay logic in `DOMWatchdog` to utilize the new highlighting feature, ensuring better visibility of interactive elements during browser sessions.
2025-08-29 20:19:26 -07:00
Saurav Panda 601105fa4a ix: prevent disable_security from breaking browser extensions 2025-08-28 16:17:16 -07:00
Magnus Müller efb2f8bfae Autopdf download to false 2025-08-27 17:21:35 -07:00
EnzoFanAccount 8136d029d6 formatting 2025-08-27 15:02:40 -03:00
Enzo Biondo d6d5fd0fb6 Merge branch 'main' into feat/video-recording 2025-08-27 14:47:05 -03:00
Magnus Müller 0373511de6 Set is local to false by default 2025-08-27 10:08:17 -07:00
Magnus Müller 78cb7e5466 Remove 25 unused parameters 2025-08-26 16:19:53 -07:00
EnzoFanAccount 47fa26a8bb Merge branch 'feat/video-recording' of https://github.com/EnzoFanAccount/browser-use into feat/video-recording 2025-08-26 03:26:51 -03:00
EnzoFanAccount a41bd90f05 Merge remote-tracking branch 'upstream/main' into feat/video-recording 2025-08-26 03:25:56 -03:00
Magnus Müller 3ef2d83c12 browser docs 2025-08-25 20:11:31 -07:00
Magnus Müller 9bd8796833 move cdp url in profile 2025-08-25 19:32:05 -07:00
Magnus Müller 21f4a80c13 Cdp url on profile and session 2025-08-25 18:39:32 -07:00
Nick Sweeting e725edb62a cross-origin iframes on by default with depth limits 2025-08-22 19:42:18 -07:00
Enzo Biondo 9c56817a7c Update comment
Co-authored-by: Nick Sweeting <github@sweeting.me>
2025-08-22 20:44:14 -03:00
EnzoFanAccount 49ee1a7a7b add video recording 2025-08-22 12:13:46 -03:00
Nick Sweeting b5892850ce fix tab close handling 2025-08-21 17:31:02 -07:00
matt-greathouse 284a2e8a50 Change proxy argument to typed dict to match past format 2025-08-21 10:55:10 -04:00
matt-greathouse 4e0ce78f43 Add authenticated proxy support 2025-08-20 11:17:25 -04:00
Nick Sweeting 85d4d588cf keep support for manifestv2 extensions 2025-08-19 13:27:14 -07:00
Nick Sweeting ef64704cd7 always re-focus and resume runtime if paused 2025-08-14 19:55:43 -07:00
Nick Sweeting 9341269f86 enable cross-origin-iframes 2025-08-14 19:34:07 -07:00
Nick Sweeting fe9b287841 finish removing playwright enitrely, get local browser paths manually 2025-08-14 14:32:31 -07:00
Nick Sweeting 7a0889cf20 formatting 2025-08-12 04:14:53 -07:00
Nick Sweeting d1e569eb31 raise BrowserError exceptions instead of returning success=False 2025-08-12 04:14:53 -07:00
mertunsall aef48b7fa2 update available file paths on pdf download and fix some bugs in pdf detection/download. mostly coded by claude-opus-4.1 2025-08-10 00:21:49 +01:00
Nick Sweeting 20b4b2a684 feature flags for iframes and recent_events, split security and nav actions 2025-08-08 19:13:10 -07:00
Nick Sweeting 0512c42448 tweak logging 2025-08-05 02:30:14 -07:00
Nick Sweeting d8ffff6491 add local browser watchdog 2025-08-04 23:47:54 -07:00
Nick Sweeting ebc3a3846f wip cleanup flow] 2025-07-31 22:10:25 -07:00
Nick Sweeting adcc0ac155 tweak extensions logging 2025-07-30 22:02:46 -07:00
Nick Sweeting af92619c7d fix imports and lint 2025-07-30 21:46:34 -07:00
Nick Sweeting ef64212d28 browsersession.start tests passing with new events system 2025-07-30 21:46:02 -07:00
Nick Sweeting 8182a84b9c wip split up BrowserSession logic into separate models 2025-07-29 23:22:25 -07:00
Nick Sweeting f5925b1080 fix browser-use extensions dir to use .config/browseruse like everything else and cache in actions 2025-07-29 13:04:44 -07:00
Magnus Müller bbd34cab80 Fix two extension-related bugs
1. Remove Reader View from description - extension not actually loaded
   - Updated enable_default_extensions description to only mention extensions that are actually loaded
   - Removed misleading reference to Reader View functionality

2. Resolve Chrome flag conflict for extension activity logging
   - Removed --disable-extension-activity-logging from CHROME_DEFAULT_ARGS
   - Keeps --enable-extension-activity-logging in _get_extension_args() when extensions enabled
   - Eliminates contradictory flags that caused unpredictable logging behavior
2025-07-19 16:07:52 +02:00