Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ getSameSite
Method
getSameSite
java/src/org/openqa/selenium/Cookie.java:209–211 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
207
}
208
209
public
@Nullable String getSameSite() {
210
return
sameSite;
211
}
212
213
private
static
@Nullable String stripPort(@Nullable String domain) {
214
return
(domain == null) ? null : domain.split(
":"
)[0];
Callers
3
testCookiesShouldAllowSameSiteToBeSet
Method · 0.95
toJson
Method · 0.95
canAddAndGetCookie
Method · 0.45
Calls
no outgoing calls
Tested by
2
testCookiesShouldAllowSameSiteToBeSet
Method · 0.76
canAddAndGetCookie
Method · 0.36