When I hit a webpage(running the script using xk6 browser extension) there are two backend calls made. I can see these calls when I open Network–>Fetch/XHR section of DevTools. Now I would like to capture headers of those two requests.
I was trying to use page.waitForRequest(‘’) and page.on(‘’) methods from xk6-browser extension but getting error like “page.waitForRequest(urlOrPredicate, Opts) has not been implemented yet”
Can you please tell how do I resolve this error and fetch headers for my backend requests.