chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.network / NetworkDomain / setCookie

setCookie

suspend fun setCookie(input: SetCookieRequest): SetCookieResponse

Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist.

Official doc