This is documentation for the next version of Grafana k6 documentation. For the latest stable release, go to the latest version.
cookieJar()
Get the active cookie jar.
Example
import http from 'k6/http';
export default function () {
const jar = http.cookieJar();
}
