Skip to content

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

Update default value of highlight_elements to False in BrowserProfile class

kalil0321345ddedc8dc9
diff --git a/browser_use/browser/profile.py b/browser_use/browser/profile.py
index 513770424..beeef1448 100644
--- a/browser_use/browser/profile.py
+++ b/browser_use/browser/profile.py
@@ -621,7 +621,7 @@ class BrowserProfile(BrowserConnectArgs, BrowserLaunchPersistentContextArgs, Bro
# --- UI/viewport/DOM ---
- highlight_elements: bool = Field(default=True, description='Highlight interactive elements on the page.')
+ highlight_elements: bool = Field(default=False, description='Highlight interactive elements on the page.')
filter_highlight_ids: bool = Field(
default=True, description='Only show element IDs in highlights if llm_representation is less than 10 characters.'
)