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
Update browser_use/agent/service.py
zhcn15f0bef1b69e
diff --git a/browser_use/agent/service.py b/browser_use/agent/service.pyindex 2f274ce40..c91a79225 100644--- a/browser_use/agent/service.py+++ b/browser_use/agent/service.py@@ -179,7 +179,7 @@ class Agent(Generic[Context, AgentStructuredOutput]):step_timeout: int = 120,directly_open_url: bool = True,include_recent_events: bool = False,- sample_images: list[UserMessage] = None,+ sample_images: list[UserMessage] | None = None,**kwargs,):if page_extraction_llm is None: