Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/SeleniumHQ/selenium
/ domain
Method
domain
java/src/org/openqa/selenium/Cookie.java:321–324 ·
view source on GitHub ↗
(@Nullable String host)
Source
from the content-addressed store, hash-verified
319
}
320
321
public
Builder domain(@Nullable String host) {
322
this.domain = stripPort(host);
323
return
this;
324
}
325
326
public
Builder path(@Nullable String path) {
327
this.path = path;
Callers
10
parse
Method · 0.95
testShouldBeAbleToAddCookie
Method · 0.45
testShouldBeAbleToAddToADomainWhichIsRelatedToTheCurrentDomain
Method · 0.45
testsShouldNotGetCookiesRelatedToCurrentDomainWithoutLeadingPeriod
Method · 0.45
testShouldBeAbleToIncludeLeadingPeriodInDomainName
Method · 0.45
testShouldBeAbleToSetDomainToTheCurrentDomain
Method · 0.45
testShouldIgnoreThePortNumberOfTheHostWhenSettingTheCookie
Method · 0.45
testShouldDeleteOneOfTheCookiesWithTheSameName
Method · 0.45
deleteAllCookies
Method · 0.45
canAddAndGetCookie
Method · 0.45
Calls
1
stripPort
Method · 0.80
Tested by
10
parse
Method · 0.76
testShouldBeAbleToAddCookie
Method · 0.36
testShouldBeAbleToAddToADomainWhichIsRelatedToTheCurrentDomain
Method · 0.36
testsShouldNotGetCookiesRelatedToCurrentDomainWithoutLeadingPeriod
Method · 0.36
testShouldBeAbleToIncludeLeadingPeriodInDomainName
Method · 0.36
testShouldBeAbleToSetDomainToTheCurrentDomain
Method · 0.36
testShouldIgnoreThePortNumberOfTheHostWhenSettingTheCookie
Method · 0.36
testShouldDeleteOneOfTheCookiesWithTheSameName
Method · 0.36
deleteAllCookies
Method · 0.36
canAddAndGetCookie
Method · 0.36