Release v1.0.1

This commit is contained in:
Haiping Chen 2024-02-24 10:15:26 -06:00
parent 8a714f726f
commit f86f437f31
2 changed files with 5 additions and 1 deletions

View file

@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>10.0</LangVersion>
<BotSharpVersion>0.22.0</BotSharpVersion>
<BotSharpVersion>1.0.1</BotSharpVersion>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
</PropertyGroup>

View file

@ -30,7 +30,11 @@ public class PlaywrightInstance : IDisposable
string tempFolderPath = $"{Path.GetTempPath()}\\playwright\\{id}";
_contexts[id] = await _playwright.Chromium.LaunchPersistentContextAsync(tempFolderPath, new BrowserTypeLaunchPersistentContextOptions
{
#if DEBUG
Headless = false,
#else
Headless = true,
#endif
Channel = "chrome",
IgnoreDefaultArgs = new[]
{