Skip to content

ElectronCookies.remove method

ElectronCookies › remove

Unofficial

Removes the cookies matching url and name.

Signature:

remove(url: string, name: string): Promise<void>

Parameters:

ParameterTypeDescription
urlstringThe URL associated with the cookie.
namestringThe name of the cookie to remove.

Returns: Promise<void>A promise which resolves when the cookie has been removed.