BrowserContextBrowserContext.setCookieVersion: 23.11.0On this pageBrowserContext.setCookie() method Sets a cookie in the browser context. Signature class BrowserContext { abstract setCookie(...cookies: CookieData[]): Promise<void>;} Parameters ParameterTypeDescriptioncookiesCookieData[] Returns: Promise<void>