MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / stripPort

Method stripPort

java/src/org/openqa/selenium/Cookie.java:213–215  ·  view source on GitHub ↗
(@Nullable String domain)

Source from the content-addressed store, hash-verified

211 }
212
213 private static @Nullable String stripPort(@Nullable String domain) {
214 return (domain == null) ? null : domain.split(":")[0];
215 }
216
217 public void validate() {
218 Require.nonEmpty("Name", name);

Callers 2

CookieMethod · 0.95
domainMethod · 0.80

Calls 1

splitMethod · 0.80

Tested by

no test coverage detected