Class CookieIssueDetails
java.lang.Object
org.openqa.selenium.devtools.v126.audits.model.CookieIssueDetails
This information is currently necessary, as the front-end has a difficult
time finding a specific cookie. With this, we can convey specific error
information without the cookie.
-
Constructor Summary
ConstructorsConstructorDescriptionCookieIssueDetails
(Optional<AffectedCookie> cookie, Optional<String> rawCookieLine, List<CookieWarningReason> cookieWarningReasons, List<CookieExclusionReason> cookieExclusionReasons, CookieOperation operation, Optional<String> siteForCookies, Optional<String> cookieUrl, Optional<AffectedRequest> request) -
Method Summary
Modifier and TypeMethodDescriptionIf AffectedCookie is not set then rawCookieLine contains the raw Set-Cookie header string.Optionally identifies the site-for-cookies and the cookie url, which may be used by the front-end as additional context.
-
Constructor Details
-
CookieIssueDetails
public CookieIssueDetails(Optional<AffectedCookie> cookie, Optional<String> rawCookieLine, List<CookieWarningReason> cookieWarningReasons, List<CookieExclusionReason> cookieExclusionReasons, CookieOperation operation, Optional<String> siteForCookies, Optional<String> cookieUrl, Optional<AffectedRequest> request)
-
-
Method Details
-
getCookie
If AffectedCookie is not set then rawCookieLine contains the raw Set-Cookie header string. This hints at a problem where the cookie line is syntactically or semantically malformed in a way that no valid cookie could be created. -
getRawCookieLine
-
getCookieWarningReasons
-
getCookieExclusionReasons
-
getOperation
Optionally identifies the site-for-cookies and the cookie url, which may be used by the front-end as additional context. -
getSiteForCookies
-
getCookieUrl
-
getRequest
-