Skip to main content
Version: Next

Page.deleteCookie() method

Warning: This API is now obsolete.

Page-level cookie API is deprecated. Use Browser.deleteCookie() or BrowserContext.deleteCookie() instead.

Signature

class Page {
abstract deleteCookie(...cookies: DeleteCookiesRequest[]): Promise<void>;
}

Parameters

Parameter

Type

Description

cookies

DeleteCookiesRequest[]

Returns:

Promise<void>