Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ getExpiry
Method
getExpiry
java/src/org/openqa/selenium/Cookie.java:205–207 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
203
}
204
205
public
@Nullable Date getExpiry() {
206
return
expiry == null ? null :
new
Date(expiry.getTime());
207
}
208
209
public
@Nullable String getSameSite() {
210
return
sameSite;
Callers
6
testRetainsCookieExpiry
Method · 0.95
toJson
Method · 0.95
addCookieOnServerSide
Method · 0.45
canAddAndGetCookie
Method · 0.45
addCookieOnServerSide
Method · 0.45
addCookie
Method · 0.45
Calls
no outgoing calls
Tested by
5
testRetainsCookieExpiry
Method · 0.76
addCookieOnServerSide
Method · 0.36
canAddAndGetCookie
Method · 0.36
addCookieOnServerSide
Method · 0.36
addCookie
Method · 0.36