puppeteer/new-docs/puppeteer.page.setcookie.md
2020-07-13 14:01:35 +01:00

591 B

Home > puppeteer > Page > setCookie

Page.setCookie() method

Signature:

setCookie(...cookies: Protocol.Network.CookieParam[]): Promise<void>;

Parameters

Parameter Type Description
cookies Protocol.Network.CookieParam[]

Returns:

Promise<void>