Commit Graph

464 Commits

Author SHA1 Message Date
Gregor Žunič
fb4700a38e revert prompt changes 2025-08-14 09:39:15 -07:00
Magnus Müller
9346c7a923 Revert "Record exceptions and rename span context" 2025-08-13 09:47:29 -07:00
Cursor Agent
72f3b1f7f0 Update Laminar span handling to record exceptions and improve variable naming
Co-authored-by: mamagnus00 <mamagnus00@gmail.com>
2025-08-13 13:33:06 +00:00
Magnus Müller
7ff0052e67 update extract_structured_data prompt 2025-08-12 21:54:49 -07:00
Magnus Müller
bcb9a119c6 Merge branch 'local-remote-split' of https://github.com/browser-use/browser-use into local-remote-split 2025-08-12 15:54:41 -07:00
Magnus Müller
1730cf6fd7 Describe the click action better 2025-08-12 15:54:39 -07:00
Nick Sweeting
8937b4f094 prevent agent from clicking elements with index 0 2025-08-12 15:34:44 -07:00
Magnus Müller
fe43837649 Enhance error messages in dropdown and menu selection logic to include available options for better debugging. This change improves clarity when options are not found by providing a structured list of available choices. 2025-08-12 15:03:46 -07:00
Magnus Müller
14a5aaa3ff Tool msg dropdowns 2025-08-12 15:00:00 -07:00
Magnus Müller
d753ca003a Enhance selection logic for dropdowns and menus to support case-insensitive matching for both text and values. Update error messages for better clarity when options are not found. Trim whitespace from option texts to ensure accurate comparisons. 2025-08-12 14:52:29 -07:00
Nick Sweeting
c37b72adb1 fix screenshot return type and add recovery using activateTarget when any handler fails 2025-08-12 12:11:33 -07:00
Nick Sweeting
d1c9ddd9fe fix search_google nav 2025-08-12 05:26:42 -07:00
Nick Sweeting
c440e29ea1 fix cached selector map and js popups 2025-08-12 05:00: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
Magnus Müller
310eaf1e51 Update tool description 2025-08-11 17:03:26 -07:00
Magnus Müller
008f65ec3e tool description extract_structured_data for clever usage with dynamic content 2025-08-11 16:49:10 -07:00
Magnus Müller
2f3007b0ea Update description 2025-08-11 16:33:42 -07:00
Magnus Müller
e1601971a9 Update js code for selct dropdown 2025-08-11 16:31:31 -07:00
Magnus Müller
e6b0900720 Dropdowns for nested elements 2025-08-11 16:17:07 -07:00
Magnus Müller
f461a00f67 Dropdown v1 2025-08-11 15:47:01 -07:00
Nick Sweeting
cb5fb38036 cli fixes and types for input 2025-08-11 13:50:59 -07:00
Nick Sweeting
9ab14b4cf0 re-enable upload_file event and action 2025-08-11 13:50:59 -07:00
Magnus Müller
9dbf127e3b Enhance extract_structured_data: clarify usage instructions and improve markdown processing by removing images and converting links to text. 2025-08-11 10:52:59 -07:00
Magnus Müller
4212e73d7d Tool description 2025-08-11 10:08:55 -07:00
Magnus Müller
db8601d88a Dont remove styles 2025-08-11 09:07:09 -07:00
Magnus Müller
a212727249 Only remove empty links 2025-08-11 08:56:04 -07:00
Magnus Müller
ba81729fb3 Replace empty links 2025-08-10 22:25:44 -07:00
Magnus Müller
39ff164008 Fix extract content 2025-08-10 22:24:08 -07:00
Magnus Müller
2d63ccf65a extract_structured_data descripiton for single use 2025-08-10 20:58:54 -07:00
Magnus Müller
aa45460617 Fixed multiact cache 2025-08-10 18:25:22 -07:00
Magnus Müller
eb003f7a2f Wait for page in extract_structured_data 2025-08-10 10:33:41 -07:00
Magnus Müller
af8acb0659 Remove url blank from extract_structured_data 2025-08-10 10:25:26 -07:00
Magnus Müller
38d68361d1 Refactor content extraction process in Controller class. Simplified HTML to markdown conversion using markdownify, improved error handling, and streamlined memory management for extracted content. Removed obsolete methods related to HTML cleaning and content validation. 2025-08-09 18:53:15 -07:00
Magnus Müller
c6e71121c1 Auto enter 2025-08-09 18:47:05 -07:00
Magnus Müller
70115c44c0 Refactor HTML extraction and content processing in Controller class. Introduced methods for cleaning HTML, validating content relevance, and intelligently truncating long content. Enhanced markdown conversion and improved error handling for content extraction failures. 2025-08-09 18:35:37 -07:00
Gregor Žunič
13b29b1886 fixed extract structured output nodeId to backendNodeId 2025-08-09 11:10:25 -07:00
Nick Sweeting
a389927f75 fix initial tab detection and structure data extraction 2025-08-09 04:23:29 -07:00
Nick Sweeting
31fb754473 finish connecting feature flags 2025-08-08 20:23:18 -07:00
Nick Sweeting
557067b8e9 remove expect_download param from click action 2025-08-08 17:42:46 -07:00
Nick Sweeting
3bb8fb0fee improve focus tracking 2025-08-08 07:15:04 -07:00
Nick Sweeting
5c551272cb fix screenshots 2025-08-08 05:14:01 -07:00
Nick Sweeting
db4c4e9b49 fix duplicate typed keystrokes 2025-08-08 04:13:44 -07:00
Nick Sweeting
734e58a1fc hotload page immediately based on url found in task 2025-08-08 03:16:55 -07:00
Nick Sweeting
4826041154 new cdp_session singleton for current page 2025-08-07 21:48:57 -07:00
Nick Sweeting
d2268acf0d fixes for markdownify html and crash detection 2025-08-07 19:37:36 -07:00
Nick Sweeting
0e41a1177b fix imports 2025-08-07 19:29:06 -07:00
Nick Sweeting
3f5e4345e5 fix openai imports again 2025-08-07 18:59:06 -07:00
Nick Sweeting
d20033f26c fix markdownify in iframes 2025-08-07 18:55:55 -07:00
Nick Sweeting
df67d35ae8 merged main 2025-08-07 18:51:38 -07:00