Skip to main content
Version: 23.11.1

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>