This is documentation for the next version of K6. For the latest stable release, go to the latest version.
cookies([urls])
Returns a list of cookies from the browser context filtered by the provided urls
. If no urls
are provided, all cookies are returned.
Returns
Note
Cookies can be added with BrowserContext.addCookies.