Skip to content

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

Merge branch 'main' into feat/custom-screenshot-quality

Enzo Biondo4133b17ad8c5
diff --cc browser_use/agent/service.py
index 23e582eda,7d586cce4..7c36f6802
--- a/browser_use/agent/service.py
+++ b/browser_use/agent/service.py
@@@ -10,7 -10,8 +10,8 @@@ import tempfil
import time
from collections.abc import Awaitable, Callable
from pathlib import Path
-from typing import Any, Generic, TypeVar
+from typing import Any, Generic, Literal, TypeVar
+ from urllib.parse import urlparse
from dotenv import load_dotenv