Skip to content

Commit

Permalink
[dotnet] Fix WSS scheme determination for DevTools connection (#13131)
Browse files Browse the repository at this point in the history
Fix WSS scheme determination for DevTools connection
  • Loading branch information
nvborisenko authored Nov 10, 2023
1 parent feece00 commit 9fa9e96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dotnet/src/webdriver/DevTools/DevToolsSession.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public DevToolsSession(string endpointAddress)

this.CommandTimeout = TimeSpan.FromSeconds(30);
this.debuggerEndpoint = endpointAddress;
if (endpointAddress.StartsWith("ws:"))
if (endpointAddress.StartsWith("ws", StringComparison.InvariantCultureIgnoreCase))
{
this.websocketAddress = endpointAddress;
}
Expand Down

0 comments on commit 9fa9e96

Please sign in to comment.