Skip to content

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

Linter

Magnus Müller86476e45df88
diff --git a/browser_use/agent/prompts.py b/browser_use/agent/prompts.py
index 0cf3f60f5..974f62d16 100644
--- a/browser_use/agent/prompts.py
+++ b/browser_use/agent/prompts.py
@@ -257,7 +257,9 @@ class AgentMessagePrompt:
pdf_message = (
'PDF viewer cannot be rendered. In this page, DO NOT use the extract action as PDF content cannot be rendered. '
)
- pdf_message += 'Use the read_file action on the downloaded PDF in available_file_paths to read the full text content.\n\n'
+ pdf_message += (
+ 'Use the read_file action on the downloaded PDF in available_file_paths to read the full text content.\n\n'
+ )
# Add recent events if available and requested
recent_events_text = ''