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
Increase tag text from 25 to 100
Magnus Müller9dc4f072338e
diff --git a/browser_use/dom/views.py b/browser_use/dom/views.pyindex 4b8724579..5439207bb 100644--- a/browser_use/dom/views.py+++ b/browser_use/dom/views.py@@ -374,7 +374,7 @@ class EnhancedDOMTreeNode:f'num_children={num_children} >{self.node_value}</{self.tag_name}>')- def llm_representation(self, max_text_length: int = 25) -> str:+ def llm_representation(self, max_text_length: int = 100) -> str:"""Token friendly representation of the node, used in the LLM"""