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