MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / expiresOn

Method expiresOn

java/src/org/openqa/selenium/Cookie.java:331–334  ·  view source on GitHub ↗
(@Nullable Date expiry)

Source from the content-addressed store, hash-verified

329 }
330
331 public Builder expiresOn(@Nullable Date expiry) {
332 this.expiry = expiry == null ? null : new Date(expiry.getTime());
333 return this;
334 }
335
336 public Builder isSecure(boolean secure) {
337 this.secure = secure;

Callers 6

parseMethod · 0.95
executeMethod · 0.80
getCookiesMethod · 0.80

Calls

no outgoing calls

Tested by 5

parseMethod · 0.76
executeMethod · 0.64