Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

Autopdf download to false

Magnus Müllerefb2f8bfaed9
diff --git a/browser_use/browser/profile.py b/browser_use/browser/profile.py
index 72a53b33a..e29d910b0 100644
--- a/browser_use/browser/profile.py
+++ b/browser_use/browser/profile.py
@@ -585,7 +585,9 @@ class BrowserProfile(BrowserConnectArgs, BrowserLaunchPersistentContextArgs, Bro
highlight_elements: bool = Field(default=True, description='Highlight interactive elements on the page.')
# --- Downloads ---
- auto_download_pdfs: bool = Field(default=True, description='Automatically download PDFs when navigating to PDF viewer pages.')
+ auto_download_pdfs: bool = Field(
+ default=False, description='Automatically download PDFs when navigating to PDF viewer pages.'
+ )
profile_directory: str = 'Default' # e.g. 'Profile 1', 'Profile 2', 'Custom Profile', etc.