From a78b5dc3cddfa920e90fba6bc6d309233ce16f2e Mon Sep 17 00:00:00 2001
From: baletiballo <75846481+baletiballo@users.noreply.github.com>
Date: Mon, 17 Feb 2025 09:51:41 +0100
Subject: [PATCH] Moved to use chrome-headless-shell.exe, as headless-old got
 deprecated

---
 Runtime/ChromeDevtools/Browser.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Runtime/ChromeDevtools/Browser.cs b/Runtime/ChromeDevtools/Browser.cs
index c39c762..5bdf86a 100644
--- a/Runtime/ChromeDevtools/Browser.cs
+++ b/Runtime/ChromeDevtools/Browser.cs
@@ -17,7 +17,7 @@ namespace bessw.Unity.WebView.ChromeDevTools
         private Process browserProcess;
 
         /* browser settings */
-        public static string browserExecutablePath = "chrome";
+        public static string browserExecutablePath = Application.streamingAssetsPath + "/chrome-headless-shell-win64/chrome-headless-shell.exe";
         public static bool headless = true;
         private const int debugPort = 9222;
 
-- 
GitLab