BrowserContextBrowserContext.setCookieVersion: NextOn 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>