Skip to content

Commit f86f437

Browse files
committed
Release v1.0.1
1 parent 8a714f7 commit f86f437

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<TargetFramework>net8.0</TargetFramework>
44
<LangVersion>10.0</LangVersion>
5-
<BotSharpVersion>0.22.0</BotSharpVersion>
5+
<BotSharpVersion>1.0.1</BotSharpVersion>
66
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
77
<GenerateDocumentationFile>false</GenerateDocumentationFile>
88
</PropertyGroup>

src/Plugins/BotSharp.Plugin.WebDriver/Drivers/PlaywrightDriver/PlaywrightInstance.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ public async Task InitContext(string id)
3030
string tempFolderPath = $"{Path.GetTempPath()}\\playwright\\{id}";
3131
_contexts[id] = await _playwright.Chromium.LaunchPersistentContextAsync(tempFolderPath, new BrowserTypeLaunchPersistentContextOptions
3232
{
33+
#if DEBUG
34+
Headless = false,
35+
#else
3336
Headless = true,
37+
#endif
3438
Channel = "chrome",
3539
IgnoreDefaultArgs = new[]
3640
{

0 commit comments

Comments
 (0)