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
Nick Sweeting4af9c9f1cd20
diff --git a/browser_use/browser/context.py b/browser_use/browser/context.pyindex f3f874355..94450cabe 100644--- a/browser_use/browser/context.py+++ b/browser_use/browser/context.py@@ -1219,7 +1219,6 @@ class BrowserContext:url=page.url,title=await page.title(),tabs=tabs_info,- current_tab_id=agent_current_page_id,screenshot=screenshot_b64,pixels_above=pixels_above,pixels_below=pixels_below,diff --git a/browser_use/browser/views.py b/browser_use/browser/views.pyindex f30122ec7..c41e91227 100644--- a/browser_use/browser/views.py+++ b/browser_use/browser/views.py@@ -32,7 +32,6 @@ class BrowserState(DOMState):url: strtitle: strtabs: list[TabInfo]- current_tab_id: int = 0screenshot: str | None = Nonepixels_above: int = 0pixels_below: int = 0