Mozilla:Chrome-browser-devtools-gclicommands-java-cookieSetManual/en

Set a cookie by specifying a key name, its value and optionally one or more of the following attributes: expires (max-age in seconds or the expires date in GMTString format), path, domain, secure