Skip to content

Commit eb0eb1f

Browse files
committed
Fixing incorrect platform in .NET user agent string
1 parent 4a1f340 commit eb0eb1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/src/webdriver/Internal/ResourceUtilities.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ private static string GetPlatformString()
134134
{
135135
string platformName = "unknown";
136136
#if NETSTANDARD2_0 || NETCOREAPP2_0
137-
if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
137+
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
138138
{
139139
platformName = "windows";
140140
}

0 commit comments

Comments
 (0)