Skip to content

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

Refactor service.py by removing unused imports to streamline the codebase.

Magnus Müller7a80d2a1ab5d
diff --git a/browser_use/sync/service.py b/browser_use/sync/service.py
index 053011831..6e6729a03 100644
--- a/browser_use/sync/service.py
+++ b/browser_use/sync/service.py
@@ -3,11 +3,9 @@ Cloud sync service for sending events to the Browser Use cloud.
"""
import asyncio
-import json
import logging
import shutil
-import anyio
import httpx
from bubus import BaseEvent