Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ StripPort
Method
StripPort
dotnet/src/webdriver/Cookie.cs:367–370 ·
view source on GitHub ↗
(string? domain)
Source
from the content-addressed store, hash-verified
365
}
366
367
private static string? StripPort(string? domain)
368
{
369
return string.IsNullOrEmpty(domain) ? null : domain!.Split(
':'
)[0];
370
}
371
372
private static DateTime? ConvertExpirationTime(string expirationTime)
373
{
Callers
nothing calls this directly
Calls
1
Split
Method · 0.80
Tested by
no test coverage detected