Skip to content

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

disable highlights by default

mertunsall6de9261b85ac
diff --git a/browser_use/browser/profile.py b/browser_use/browser/profile.py
index 8c00b1192..282a6fc84 100644
--- a/browser_use/browser/profile.py
+++ b/browser_use/browser/profile.py
@@ -596,7 +596,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.'
)
diff --git a/docs/customize/browser/all-parameters.mdx b/docs/customize/browser/all-parameters.mdx
index 066b10044..3f6c6516a 100644
--- a/docs/customize/browser/all-parameters.mdx
+++ b/docs/customize/browser/all-parameters.mdx
@@ -61,7 +61,7 @@ mode: "wide"
- `wait_between_actions` (default: `0.5`): Time to wait between agent actions in seconds
## AI Integration
-- `highlight_elements` (default: `True`): Highlight interactive elements for AI vision
+- `highlight_elements` (default: `False`): Highlight interactive elements for AI vision
## Downloads & Files
- `accept_downloads` (default: `True`): Automatically accept all downloads