Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

Linter

Magnus Müller4951002ae37d
diff --git a/browser_use/browser/session.py b/browser_use/browser/session.py
index adb86d3e8..ec862956f 100644
--- a/browser_use/browser/session.py
+++ b/browser_use/browser/session.py
@@ -2903,7 +2903,6 @@ class BrowserSession(BaseModel):
# Frame not found
raise ValueError(f"Frame with ID '{frame_id}' not found in any target")
-
async def cdp_client_for_node(self, node: EnhancedDOMTreeNode) -> CDPSession:
"""Get CDP client for a specific DOM node based on its frame.