I have a list of cookies in my response that has secure=true which is not accessible by the pm.cookies.jar()
This results in an issue where i wanted to clear all the cookies under a domain, which does not happen with the below code on the secure cookies.
const jar = pm.cookies.jar();
var domain = pm.environment.get("envUrl");
jar.clear(domain, function (error){
if(error)
{
console.log("error",error);
}
});
This seems to be a bug and a github issue has been created.