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 wrong url in extract content
mertunsallaa7095df86b1
diff --git a/browser_use/controller/service.py b/browser_use/controller/service.pyindex e03598b6e..095ecf175 100644--- a/browser_use/controller/service.py+++ b/browser_use/controller/service.py@@ -592,7 +592,8 @@ Provide the extracted information in a clear, structured format."""include_extracted_content_only_once = Falseelse:save_result = await file_system.save_extracted_content(extracted_content)- memory = f'Extracted content from {cdp_session.url} for query: {query}\nContent saved to file system: {save_result}'+ current_url = await browser_session.get_current_page_url()+ memory = f'Extracted content from {current_url} for query: {query}\nContent saved to file system: {save_result}'include_extracted_content_only_once = Truelogger.info(f'📄 {memory}')