How set cookies in dev tools in Google Chrome 98 version?
Google ChromeCookiesGoogle Chrome-DevtoolsGoogle Chrome Problem Overview
after update google chrome up to 98 version, I can't set cookies
it looks like a red stripe and after the refresh, it disappears. Even you fill all fields, it disappears.
Maybe any know how it disables the feature? This feature describes in their blog, but I can't find how to fix it
Google Chrome Solutions
Solution 1 - Google Chrome
Based on the comment in this diff - https://chromium.googlesource.com/devtools/devtools-frontend/+/20ed4f2bd282537f404af9d45df1333d5aeb21f5%5E%21/#F0, I felt this has something to do with Partitioned cookies. So I opened chrome://flags and set the value of "Partitioned Cookies" to Enabled" and relaunched the browser. After that the red row did not appear and I am able to set the cookies like before.
Solution 2 - Google Chrome
A workaround we are using for now is using the console to run document.cookie='key=value'
.
It's not nearly as robust but it gets the cookie in and we can edit the other fields afterwards.
Solution 3 - Google Chrome
Using a plugin like 'EditThisCookie' also works for now.