How do I enable the Recorder (Chrome extension) to follow redirects?

I don’t see anywhere the ability to configure the Chrome extension to follow redirects. This is essential for recording our login flow.

The Chrome extension (and the k6 HAR converter) set maxRedirects: 0 in the generated script options because all redirects are recorded as individual requests in the script. You can safely remove that option, if your use case demands it, and k6 will start to follow redirects like normal. Just make sure that you delete the duplicate requests from your script if you do so.

1 Like