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
remove unused var assignment
Nick Sweeting3323a3ca2128
diff --git a/browser_use/controller/service.py b/browser_use/controller/service.pyindex 3fb5eb1b2..ccbeba39f 100644--- a/browser_use/controller/service.py+++ b/browser_use/controller/service.py@@ -201,7 +201,7 @@ class Controller(Generic[Context]):async def open_tab(params: OpenTabAction, browser: BrowserContext):await browser.create_new_tab(params.url)# Ensure tab references are properly synchronized- page = await browser.get_agent_current_page()+ await browser.get_agent_current_page() # this has side-effects (even though it looks like a getter)msg = f'🔗 Opened new tab with {params.url}'logger.info(msg)return ActionResult(extracted_content=msg, include_in_memory=True)