-
Notifications
You must be signed in to change notification settings - Fork 8.7k
fix-auto-download #3443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix-auto-download #3443
Conversation
…iptions - Updated the `write_file` action to include detailed documentation on supported file formats (.txt, .md, .json, .jsonl, .csv, .pdf) and conversion process for PDF files. - Refined the `text` field description in `DoneAction` to clarify the expected format for user summaries. - Improved the `success` field description in `StructuredOutputAction` to specify its meaning more clearly. These changes aim to enhance clarity and usability for developers interacting with the API.
Agent Task Evaluation Results: 2/2 (100%)View detailed results
Check the evaluate-tasks job for detailed task execution logs. |
Evaluation ResultsCommit: 📊 Summary
Automated evaluation by browser-use |
Evaluation ResultsCommit: 📊 Summary
Automated evaluation by browser-use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 3 files
Evaluation ResultsCommit: 📊 Summary
Automated evaluation by browser-use |
…loadsWatchdog with global network response handling - Introduced `get_target_id_from_session_id` method in `BrowserSession` to facilitate lookup of target IDs from CDP session IDs. - Updated `DownloadsWatchdog` to register a global network response callback, improving detection of downloadable content. - Enhanced error handling and logging for network response events to ensure better tracking of downloads and potential issues. These changes aim to improve the reliability and functionality of session management and download monitoring in the browser automation framework.
Evaluation ResultsCommit: 📊 Summary
Automated evaluation by browser-use |
Auto-generated PR for branch: fix-auto-download
Note
Adds CDP Network-based monitoring to detect and auto-download PDFs/attachments across targets, with deduping and background downloads; exposes session→target lookup and tweaks tool action descriptions.
browser_use/browser/watchdogs/downloads_watchdog.py):Network.enableand a globalNetwork.responseReceivedcallback.Content-Disposition: attachmentresponses (including iframes/JS-triggered) and auto-download in background usingdownload_file_from_url(JSfetch).browser_use/browser/session.py):get_target_id_from_session_id(session_id)to map CDP session IDs totarget_idfor event routing.write_fileaction description updated to list supported formats and PDF behavior (browser_use/tools/service.py).DoneActionandStructuredOutputActionfield descriptions (browser_use/tools/views.py).Written by Cursor Bugbot for commit 00b11e1. This will update automatically on new commits. Configure here.