From f644f729ebef4e9d00a3c6284f12df79a24f3d28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=AE=AE=E0=AE=A9=E0=AF=8B=E0=AE=9C=E0=AF=8D=E0=AE=95?= =?UTF-8?q?=E0=AF=81=E0=AE=AE=E0=AE=BE=E0=AE=B0=E0=AF=8D=20=E0=AE=AA?= =?UTF-8?q?=E0=AE=B4=E0=AE=A9=E0=AE=BF=E0=AE=9A=E0=AF=8D=E0=AE=9A=E0=AE=BE?= =?UTF-8?q?=E0=AE=AE=E0=AE=BF?= Date: Tue, 2 Dec 2025 08:54:10 +0530 Subject: [PATCH 1/2] Fix: Add missing windows cache path for Playwright detection --- openhands-tools/openhands/tools/browser_use/impl.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openhands-tools/openhands/tools/browser_use/impl.py b/openhands-tools/openhands/tools/browser_use/impl.py index 4f5f6c146a..747e41796e 100644 --- a/openhands-tools/openhands/tools/browser_use/impl.py +++ b/openhands-tools/openhands/tools/browser_use/impl.py @@ -39,6 +39,7 @@ def _check_chromium_available() -> str | None: playwright_cache_candidates = [ Path.home() / ".cache" / "ms-playwright", Path.home() / "Library" / "Caches" / "ms-playwright", + Path(os.environ.get("LOCALAPPDATA", "")) / "ms-playwright", # Windows ] for playwright_cache in playwright_cache_candidates: if playwright_cache.exists(): From e60b1350184219d6d024db224c2280d45b95cf99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=AE=AE=E0=AE=A9=E0=AF=8B=E0=AE=9C=E0=AF=8D=E0=AE=95?= =?UTF-8?q?=E0=AF=81=E0=AE=AE=E0=AE=BE=E0=AE=B0=E0=AF=8D=20=E0=AE=AA?= =?UTF-8?q?=E0=AE=B4=E0=AE=A9=E0=AE=BF=E0=AE=9A=E0=AF=8D=E0=AE=9A=E0=AE=BE?= =?UTF-8?q?=E0=AE=AE=E0=AE=BF?= Date: Tue, 2 Dec 2025 13:53:37 +0530 Subject: [PATCH 2/2] lint --- openhands-tools/openhands/tools/browser_use/impl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openhands-tools/openhands/tools/browser_use/impl.py b/openhands-tools/openhands/tools/browser_use/impl.py index 747e41796e..0d366c7ec9 100644 --- a/openhands-tools/openhands/tools/browser_use/impl.py +++ b/openhands-tools/openhands/tools/browser_use/impl.py @@ -39,7 +39,7 @@ def _check_chromium_available() -> str | None: playwright_cache_candidates = [ Path.home() / ".cache" / "ms-playwright", Path.home() / "Library" / "Caches" / "ms-playwright", - Path(os.environ.get("LOCALAPPDATA", "")) / "ms-playwright", # Windows + Path(os.environ.get("LOCALAPPDATA", "")) / "ms-playwright", # Windows ] for playwright_cache in playwright_cache_candidates: if playwright_cache.exists():