From eeef9bc32d2aa44250ea79bd48ce087f8f8fe992 Mon Sep 17 00:00:00 2001 From: Haiping Chen Date: Fri, 9 Feb 2024 14:49:10 -0600 Subject: [PATCH] Headless --- .../Drivers/PlaywrightDriver/PlaywrightInstance.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugins/BotSharp.Plugin.WebDriver/Drivers/PlaywrightDriver/PlaywrightInstance.cs b/src/Plugins/BotSharp.Plugin.WebDriver/Drivers/PlaywrightDriver/PlaywrightInstance.cs index a1939921c..26690494e 100644 --- a/src/Plugins/BotSharp.Plugin.WebDriver/Drivers/PlaywrightDriver/PlaywrightInstance.cs +++ b/src/Plugins/BotSharp.Plugin.WebDriver/Drivers/PlaywrightDriver/PlaywrightInstance.cs @@ -32,7 +32,7 @@ public async Task InitInstance() string tempFolderPath = $"{Path.GetTempPath()}\\playwright\\{Guid.NewGuid()}"; _context = await _playwright.Chromium.LaunchPersistentContextAsync(tempFolderPath, new BrowserTypeLaunchPersistentContextOptions { - Headless = false, + Headless = true, Channel = "chrome", IgnoreDefaultArgs = new[] {