Skip to content

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

Dont remove highlights in multiact

Magnus Müllera72e0ac0623b
diff --git a/browser_use/agent/service.py b/browser_use/agent/service.py
index 81f2d8e5c..2dc90ad69 100644
--- a/browser_use/agent/service.py
+++ b/browser_use/agent/service.py
@@ -1315,7 +1315,7 @@ class Agent(Generic[Context, AgentStructuredOutput]):
cached_selector_map = await self.browser_session.get_selector_map()
cached_element_hashes = {hash(e) for e in cached_selector_map.values()}
- await self.browser_session.remove_highlights()
+ # await self.browser_session.remove_highlights()
for i, action in enumerate(actions):
# DO NOT ALLOW TO CALL `done` AS A SINGLE ACTION