Headless
This commit is contained in:
parent
01d06aba37
commit
bee21c138c
|
|
@ -30,7 +30,7 @@ public class PlaywrightInstance : IDisposable
|
|||
string tempFolderPath = $"{Path.GetTempPath()}\\playwright\\{id}";
|
||||
_contexts[id] = await _playwright.Chromium.LaunchPersistentContextAsync(tempFolderPath, new BrowserTypeLaunchPersistentContextOptions
|
||||
{
|
||||
Headless = false,
|
||||
Headless = true,
|
||||
Channel = "chrome",
|
||||
IgnoreDefaultArgs = new[]
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue