PagePage.setCookieVersion: 21.7.0On this pagePage.setCookie() method Signature: class Page { abstract setCookie(...cookies: Protocol.Network.CookieParam[]): Promise<void>;} Parameters ParameterTypeDescriptioncookiesProtocol.Network.CookieParam[] Returns: Promise<void> Example await page.setCookie(cookieObject1, cookieObject2);