Skip to content

Commit 9fa9e96

Browse files
authored
[dotnet] Fix WSS scheme determination for DevTools connection (#13131)
Fix WSS scheme determination for DevTools connection
1 parent feece00 commit 9fa9e96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/src/webdriver/DevTools/DevToolsSession.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public DevToolsSession(string endpointAddress)
6868

6969
this.CommandTimeout = TimeSpan.FromSeconds(30);
7070
this.debuggerEndpoint = endpointAddress;
71-
if (endpointAddress.StartsWith("ws:"))
71+
if (endpointAddress.StartsWith("ws", StringComparison.InvariantCultureIgnoreCase))
7272
{
7373
this.websocketAddress = endpointAddress;
7474
}

0 commit comments

Comments
 (0)