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