Merge pull request #296 from hchen2020/master

Headless
This commit is contained in:
Haiping 2024-02-09 14:50:09 -06:00 committed by GitHub
commit f68b240c6b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,7 +32,7 @@ public class PlaywrightInstance : IDisposable
string tempFolderPath = $"{Path.GetTempPath()}\\playwright\\{Guid.NewGuid()}";
_context = await _playwright.Chromium.LaunchPersistentContextAsync(tempFolderPath, new BrowserTypeLaunchPersistentContextOptions
{
Headless = false,
Headless = true,
Channel = "chrome",
IgnoreDefaultArgs = new[]
{