Skip to content

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

Remove position

Magnus Müllere9b49401587e
diff --git a/browser_use/agent/service.py b/browser_use/agent/service.py
index 3d4c5dc2c..6d538036a 100644
--- a/browser_use/agent/service.py
+++ b/browser_use/agent/service.py
@@ -1496,8 +1496,6 @@ class Agent(Generic[Context, AgentStructuredOutput]):
self.logger.debug(f'Excluding URL with word in excluded words from auto-navigation: {url}')
continue
- position = task_without_emails.find(url)
-
found_urls.append(url)
unique_urls = list(set(found_urls))