Class CookiePartitionKey

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

@Beta public class CookiePartitionKey extends Object
cookiePartitionKey object The representation of the components of the key that are created by the cookiePartitionKey class contained in net/cookies/cookie_partition_key.h.
  • Constructor Details

    • CookiePartitionKey

      public CookiePartitionKey(String topLevelSite, Boolean hasCrossSiteAncestor)
  • Method Details

    • getTopLevelSite

      public String getTopLevelSite()
      The site of the top-level URL the browser was visiting at the start of the request to the endpoint that set the cookie.
    • getHasCrossSiteAncestor

      public Boolean getHasCrossSiteAncestor()
      Indicates if the cookie has any ancestors that are cross-site to the topLevelSite.