No results for

Powered byAlgolia
⚠️ This is the archived documentation for k6 v0.46. Go to the latest version.

cookieJar()

Get the active cookie jar.

TypeDescription
CookieJarA CookieJar object.

Example

import http from 'k6/http';
export default function () {
const jar = http.cookieJar();
}