Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
fix more
mertunsallc7ef21535e75
diff --git a/browser_use/filesystem/file_system.py b/browser_use/filesystem/file_system.pyindex 43a8f1015..c4a97e18a 100644--- a/browser_use/filesystem/file_system.py+++ b/browser_use/filesystem/file_system.py@@ -250,8 +250,9 @@ class FileSystem:async def save_extracted_content(self, content: str) -> str:"""Save extracted content to a numbered file"""- extracted_filename = f'extracted_content_{self.extracted_content_count}.md'- file_obj = MarkdownFile(name=extracted_filename[:-3])+ initial_filename = f'extracted_content_{self.extracted_content_count}'+ extracted_filename = f'{initial_filename}.md'+ file_obj = MarkdownFile(name=initial_filename)await file_obj.write(content, self.data_dir)self.files[extracted_filename] = file_objself.extracted_content_count += 1