Set Cookie Request
Request object containing input parameters for the NetworkDomain.setCookie command.
Constructors
Types
A builder for SetCookieRequest, which allows setting the optional parameters of the NetworkDomain.setCookie command via a lambda.
Properties
Cookie expiration date, session cookie if not set
Cookie partition key. The site of the top-level URL the browser was visiting at the start of the request to the endpoint that set the cookie. If not set, the cookie will be set as not partitioned.
Cookie Priority type.
Cookie SameSite type.
Cookie source port. Valid values are {-1, 1, 65535}, -1 indicates an unspecified port. An unspecified port value allows protocol clients to emulate legacy cookie scope for the port. This is a temporary ability and it will be removed in the future.
Cookie source scheme type.