Class AssociatedCookie

java.lang.Object
org.openqa.selenium.devtools.v141.network.model.AssociatedCookie

@Beta public class AssociatedCookie extends Object
A cookie associated with the request which may or may not be sent with it. Includes the cookies itself and reasons for blocking or exemption.
  • Constructor Details

  • Method Details

    • getCookie

      public Cookie getCookie()
      The cookie object representing the cookie which was not sent.
    • getBlockedReasons

      public List<CookieBlockedReason> getBlockedReasons()
      The reason(s) the cookie was blocked. If empty means the cookie is included.
    • getExemptionReason

      public Optional<CookieExemptionReason> getExemptionReason()
      The reason the cookie should have been blocked by 3PCD but is exempted. A cookie could only have at most one exemption reason.