BrowserContextBrowserContext.cookiesVersion: 23.11.0On this pageBrowserContext.cookies() method Gets all cookies in the browser context. Signature class BrowserContext { abstract cookies(): Promise<Cookie[]>;} Returns: Promise<Cookie[]>