PagePage.setCookieVersion: 23.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);